decoder: hevc: Don't flush dpb for EOS/EOB nal

Explicit flushing of dpb for EOS and EOB nal decoding is wrong,
the dpb_add() itself will handle the flusing(if needed) of dpb
for end of sequence and end of bitstream.

https://bugzilla.gnome.org/show_bug.cgi?id=754010
This commit is contained in:
Sreerenj Balachandran 2015-09-04 22:19:55 +03:00
parent e90ea99df1
commit 3bd6185f9f

View file

@ -1511,7 +1511,6 @@ decode_sequence_end (GstVaapiDecoderH265 * decoder)
if (status != GST_VAAPI_DECODER_STATUS_SUCCESS) if (status != GST_VAAPI_DECODER_STATUS_SUCCESS)
return status; return status;
dpb_flush (decoder);
return GST_VAAPI_DECODER_STATUS_SUCCESS; return GST_VAAPI_DECODER_STATUS_SUCCESS;
} }