Commit 34162f50 authored by Gwenole Beauchesne's avatar Gwenole Beauchesne

h264: handle end-of-stream NALU.

Handle <end-of-stream> NAL unit to actually flush any pending picture
from the DPB.
parent 236e8833
...@@ -2743,6 +2743,7 @@ decode_unit(GstVaapiDecoderH264 *decoder, GstVaapiDecoderUnit *unit) ...@@ -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:
......
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