Commit 21266f5c authored by posciak@chromium.org's avatar posciak@chromium.org

VAVDA: properly mark outputted pictures.

For some very mysterious reason the flag flip that should have been marking
H264Pictures as outputted on OutputPic has vanished. This CL restores it.

BUG=142451
TEST=by hand



Review URL: https://chromiumcodereview.appspot.com/10855142

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151854 0039d316-1c4b-4281-b951-d872f2087c98
parent aa524e49
......@@ -1506,6 +1506,8 @@ bool VaapiH264Decoder::OutputPic(H264Picture* pic) {
// No longer need to keep POC->surface mapping, since for decoder this POC
// is finished with. When the client returns this surface via
// ReusePictureBuffer(), it will be marked back as available for use.
DCHECK(!pic->outputted);
pic->outputted = true;
DecodeSurface* dec_surface = UnassignSurfaceFromPoC(pic->pic_order_cnt);
if (!dec_surface)
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment