From 944a76904dea0eae567570ff1ad41e95cb559635 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 18 Nov 2011 18:00:59 +0100 Subject: [PATCH] update for new scheduling query --- ext/ffmpeg/gstffmpegdemux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/ffmpeg/gstffmpegdemux.c b/ext/ffmpeg/gstffmpegdemux.c index 22772b1cc9..f14b29f354 100644 --- a/ext/ffmpeg/gstffmpegdemux.c +++ b/ext/ffmpeg/gstffmpegdemux.c @@ -1703,7 +1703,8 @@ gst_ffmpegdemux_sink_activate (GstPad * sinkpad, GstObject * parent) goto activate_push; } - gst_query_parse_scheduling (query, &pull_mode, NULL, NULL, NULL, NULL, NULL); + pull_mode = gst_query_has_scheduling_mode (query, GST_PAD_MODE_PULL); + gst_query_unref (query); if (!pull_mode) goto activate_push;