update for new scheduling query

This commit is contained in:
Wim Taymans 2011-11-18 17:59:47 +01:00
parent b948769e6e
commit 567032b5f5

View file

@ -1546,7 +1546,7 @@ mpegts_base_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)