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:
Jean-Yves Avenard 2015-10-30 14:14:23 +11:00
parent 12142482c6
commit f9f672be30

View File

@ -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) {