зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1246536: [webm] Only use discard padding information on last packet. r=kinetik
MozReview-Commit-ID: 3MYm25HfX0N --HG-- extra : rebase_source : c4d657d232d852e341114d4f966362005c9c4087
This commit is contained in:
Родитель
986945d9e4
Коммит
cbdcb3df1f
|
@ -582,7 +582,7 @@ WebMDemuxer::GetNextPacket(TrackInfo::TrackType aType, MediaRawDataQueue *aSampl
|
|||
sample->mDuration = next_tstamp - tstamp;
|
||||
sample->mOffset = holder->Offset();
|
||||
sample->mKeyframe = isKeyframe;
|
||||
if (discardPadding) {
|
||||
if (discardPadding && i == count - 1) {
|
||||
uint8_t c[8];
|
||||
BigEndian::writeInt64(&c[0], discardPadding);
|
||||
sample->mExtraData = new MediaByteBuffer;
|
||||
|
|
Загрузка…
Ссылка в новой задаче