decoder: hevc: Don't flush dpb for EOS/EOB nal
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Fri, 4 Sep 2015 19:19:55 +0000 (22:19 +0300)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Fri, 4 Sep 2015 19:19:55 +0000 (22:19 +0300)
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

gst-libs/gst/vaapi/gstvaapidecoder_h265.c

index 460c830..c308d27 100644 (file)
@@ -1511,7 +1511,6 @@ decode_sequence_end (GstVaapiDecoderH265 * decoder)
   if (status != GST_VAAPI_DECODER_STATUS_SUCCESS)
     return status;
 
-  dpb_flush (decoder);
   return GST_VAAPI_DECODER_STATUS_SUCCESS;
 }