From 3bd6185f9fb81ab258d5b85609dbf61c06005802 Mon Sep 17 00:00:00 2001 From: Sreerenj Balachandran Date: Fri, 4 Sep 2015 22:19:55 +0300 Subject: [PATCH] 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 --- gst-libs/gst/vaapi/gstvaapidecoder_h265.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c index 460c830138..c308d27899 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c @@ -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; }