update for task api change

This commit is contained in:
Wim Taymans 2012-06-20 10:33:24 +02:00
parent b7759a4d42
commit 21e9f64ab2
2 changed files with 3 additions and 3 deletions

View file

@ -3246,7 +3246,7 @@ gst_ogg_demux_perform_seek_pull (GstOggDemux * ogg, GstEvent * event)
/* restart our task since it might have been stopped when we did the
* flush. */
gst_pad_start_task (ogg->sinkpad, (GstTaskFunction) gst_ogg_demux_loop,
ogg->sinkpad);
ogg->sinkpad, NULL);
}
/* streaming can continue now */
@ -4592,7 +4592,7 @@ gst_ogg_demux_sink_activate_mode (GstPad * sinkpad, GstObject * parent,
ogg->pullmode = TRUE;
res = gst_pad_start_task (sinkpad, (GstTaskFunction) gst_ogg_demux_loop,
sinkpad);
sinkpad, NULL);
} else {
res = gst_pad_stop_task (sinkpad);
}

View file

@ -1323,7 +1323,7 @@ gst_tag_demux_sink_activate (GstPad * sinkpad, GstObject * parent)
/* only start our task if we ourselves decide to start in pull mode */
return gst_pad_start_task (sinkpad,
(GstTaskFunction) gst_tag_demux_element_loop, demux);
(GstTaskFunction) gst_tag_demux_element_loop, demux, NULL);
activate_push:
{