зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1219134: P3. Properly set the keyframe flag. r=edwin
We were incorrectly setting the keyframe flag of the last input sample rather than of the decoded one.
This commit is contained in:
Родитель
12142482c6
Коммит
f9f672be30
|
@ -175,7 +175,7 @@ FFmpegH264Decoder<LIBAV_VER>::DoDecodeFrame(MediaRawData* aSample,
|
|||
pts,
|
||||
aSample->mDuration,
|
||||
b,
|
||||
aSample->mKeyframe,
|
||||
!!mFrame->key_frame,
|
||||
-1,
|
||||
gfx::IntRect(0, 0, mCodecContext->width, mCodecContext->height));
|
||||
if (!v) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче