Bug 1320705: P2. Add mDiscardPadding information. r=kinetik

The WebMDemuxer added this information in the ExtraData field. However, this is incompatible with the MSE demuxer which will override the ExtraData field under some circumstances.
It's cleaner to have a dedicated field anyway.

MozReview-Commit-ID: GadD11zzZ8f

--HG--
extra : rebase_source : 9b9018bc791b224414ef223464f8d66f63ccc817
This commit is contained in:
Jean-Yves Avenard 2016-11-30 17:24:45 +11:00
parent 4aca82e728
commit 48a994166b

View File

@ -642,6 +642,10 @@ public:
// Indicates that this is the last packet of the stream.
bool mEOS = false;
// Indicate to the audio decoder that mDiscardPadding frames should be
// trimmed.
uint32_t mDiscardPadding = 0;
RefPtr<SharedTrackInfo> mTrackInfo;
// Return a deep copy or nullptr if out of memory.