summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>2015-09-04 22:19:55 +0300
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>2015-09-04 22:19:55 +0300
commit3bd6185f9fb81ab258d5b85609dbf61c06005802 (patch)
tree2b99d7f0380ce52ca8d0e5998d5be101d793b1d8
parente90ea99df1044c371060f18101f11e17fac3ec10 (diff)
downloadgstreamer-vaapi-3bd6185f9fb81ab258d5b85609dbf61c06005802.tar.gz
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
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder_h265.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c
index 460c8301..c308d278 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;
}