diff options
Diffstat (limited to 'gst/asfdemux/gstasfdemux.c')
-rw-r--r-- | gst/asfdemux/gstasfdemux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c index 9b1969f1..e12827a0 100644 --- a/gst/asfdemux/gstasfdemux.c +++ b/gst/asfdemux/gstasfdemux.c @@ -304,7 +304,8 @@ gst_asf_demux_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; |