mpeg2: fix decoding at end-of-sequence.

This commit is contained in:
Gwenole Beauchesne 2012-02-23 14:42:38 +01:00
parent 60e515e0b7
commit 3bc68b5b32

View file

@ -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) {