mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
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:
parent
4aca82e728
commit
48a994166b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user