g_return_val_if_fail(autoplugger->autobin != NULL, FALSE);
gst_bin_add(GST_BIN(autoplugger),autoplugger->autobin);
-gst_schedule_show(GST_ELEMENT_SCHED(autoplugger));
+gst_scheduler_show(GST_ELEMENT_SCHED(autoplugger));
// FIXME this is a hack
// GST_DEBUG(GST_CAT_AUTOPLUG, "copying failed caps to srcpad %s:%s to ensure renego\n",GST_DEBUG_PAD_NAME(autoplugger->cache_srcpad));
// attach the autoplugged bin
GST_DEBUG(GST_CAT_AUTOPLUG, "attaching the autoplugged bin between the two pads\n");
gst_pad_connect(srcpad,gst_element_get_pad(autoplugger->autobin,"sink"));
-gst_schedule_show(GST_ELEMENT_SCHED(autoplugger));
+gst_scheduler_show(GST_ELEMENT_SCHED(autoplugger));
gst_pad_connect(gst_element_get_pad(autoplugger->autobin,"src_00"),sinkpad);
-gst_schedule_show(GST_ELEMENT_SCHED(autoplugger));
+gst_scheduler_show(GST_ELEMENT_SCHED(autoplugger));
// FIXME try to force the renego
// GST_DEBUG(GST_CAT_AUTOPLUG, "trying to force everyone to nego\n");
{
GST_INFO(GST_CAT_AUTOPLUG, "typefind claims to have a type: %s",gst_caps_get_mime(caps));
-gst_schedule_show(GST_ELEMENT_SCHED(autoplugger));
+gst_scheduler_show(GST_ELEMENT_SCHED(autoplugger));
autoplugger->paused++;
if (autoplugger->paused == 1)
gst_element_set_state(GST_ELEMENT_SCHED(autoplugger)->parent,GST_STATE_PLAYING);
GST_INFO(GST_CAT_AUTOPLUG, "typefind_have_type finished");
-gst_schedule_show(GST_ELEMENT_SCHED(autoplugger));
+gst_scheduler_show(GST_ELEMENT_SCHED(autoplugger));
}
static void
return;
}
-gst_schedule_show(GST_ELEMENT_SCHED(autoplugger));
+gst_scheduler_show(GST_ELEMENT_SCHED(autoplugger));
autoplugger->paused++;
if (autoplugger->paused == 1)
gst_element_set_state(GST_ELEMENT_SCHED(autoplugger)->parent,GST_STATE_PLAYING);
GST_INFO(GST_CAT_AUTOPLUG,"here we go into nothingness, hoping the typefind will return us to safety");
-gst_schedule_show(GST_ELEMENT_SCHED(autoplugger));
+gst_scheduler_show(GST_ELEMENT_SCHED(autoplugger));
} else {
// // attach the cache_empty handler, since the cache simply isn't needed
// g_signal_connect (G_OBJECT(autoplugger->cache),"cache_empty",