From 3bc68b5b327fa56c157d627835f9143a29ad09fe Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Thu, 23 Feb 2012 14:42:38 +0100 Subject: [PATCH] mpeg2: fix decoding at end-of-sequence. --- gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c index 7f2d5b5f77..305a2dcc10 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c @@ -444,9 +444,6 @@ decode_sequence_end(GstVaapiDecoderMpeg2 *decoder) status = decode_current_picture(decoder); if (status != GST_VAAPI_DECODER_STATUS_SUCCESS) return status; - status = render_picture(decoder, priv->current_picture); - if (status != GST_VAAPI_DECODER_STATUS_SUCCESS) - return status; } if (priv->next_picture) {