h264: handle end-of-stream NALU.

Handle <end-of-stream> NAL unit to actually flush any pending picture
from the DPB.
This commit is contained in:
Gwenole Beauchesne 2013-01-17 18:07:03 +01:00
parent 236e8833d1
commit 34162f5001

View file

@ -2743,6 +2743,7 @@ decode_unit(GstVaapiDecoderH264 *decoder, GstVaapiDecoderUnit *unit)
status = decode_slice(decoder, unit); status = decode_slice(decoder, unit);
break; break;
case GST_H264_NAL_SEQ_END: case GST_H264_NAL_SEQ_END:
case GST_H264_NAL_STREAM_END:
status = decode_sequence_end(decoder); status = decode_sequence_end(decoder);
break; break;
case GST_H264_NAL_SEI: case GST_H264_NAL_SEI: