vaapi_h264: Fix frame_num after non-reference frames
authorMark Thompson <sw@jkqxz.net>
Mon, 16 May 2016 13:01:31 +0000 (14:01 +0100)
committerMark Thompson <sw@jkqxz.net>
Fri, 27 May 2016 09:56:55 +0000 (10:56 +0100)
commitb51c7c6b8a5b35cfd06cb9655f9ec4c9f0ddd81b
tree13086487e883bb75c0c5a6476924c5be26fc26a8
parent2bfa067d0b636e7b2004fb0ad5a53d0d48c6de32
vaapi_h264: Fix frame_num after non-reference frames

Non-reference frames (nal_ref_idc == 0) should be discardable, so
frame_num does not advance after them.  Before this change, a stream
containing unreferenced B-frames would be rejected by the reference
decoder.
libavcodec/vaapi_encode_h264.c