From 6049866ca688212c400fd592c74de70072806df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 5 Dec 2013 11:44:10 +0100 Subject: [PATCH] mpeg2dec: Use new gst_video_decoder_set_needs_format() API --- ext/mpeg2dec/gstmpeg2dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/mpeg2dec/gstmpeg2dec.c b/ext/mpeg2dec/gstmpeg2dec.c index 811e052559..16f9b8b035 100644 --- a/ext/mpeg2dec/gstmpeg2dec.c +++ b/ext/mpeg2dec/gstmpeg2dec.c @@ -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 */ }