mpeg2dec: Use new gst_video_decoder_set_needs_format() API

This commit is contained in:
Sebastian Dröge 2013-12-05 11:44:10 +01:00
parent 88b27e30c9
commit 6049866ca6

View file

@ -134,6 +134,7 @@ static void
gst_mpeg2dec_init (GstMpeg2dec * mpeg2dec)
{
gst_video_decoder_set_packetized (GST_VIDEO_DECODER (mpeg2dec), TRUE);
gst_video_decoder_set_needs_format (GST_VIDEO_DECODER (mpeg2dec), TRUE);
/* initialize the mpeg2dec acceleration */
}