mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
update for task api change
This commit is contained in:
parent
b7759a4d42
commit
21e9f64ab2
2 changed files with 3 additions and 3 deletions
|
@ -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
|
/* restart our task since it might have been stopped when we did the
|
||||||
* flush. */
|
* flush. */
|
||||||
gst_pad_start_task (ogg->sinkpad, (GstTaskFunction) gst_ogg_demux_loop,
|
gst_pad_start_task (ogg->sinkpad, (GstTaskFunction) gst_ogg_demux_loop,
|
||||||
ogg->sinkpad);
|
ogg->sinkpad, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* streaming can continue now */
|
/* streaming can continue now */
|
||||||
|
@ -4592,7 +4592,7 @@ gst_ogg_demux_sink_activate_mode (GstPad * sinkpad, GstObject * parent,
|
||||||
ogg->pullmode = TRUE;
|
ogg->pullmode = TRUE;
|
||||||
|
|
||||||
res = gst_pad_start_task (sinkpad, (GstTaskFunction) gst_ogg_demux_loop,
|
res = gst_pad_start_task (sinkpad, (GstTaskFunction) gst_ogg_demux_loop,
|
||||||
sinkpad);
|
sinkpad, NULL);
|
||||||
} else {
|
} else {
|
||||||
res = gst_pad_stop_task (sinkpad);
|
res = gst_pad_stop_task (sinkpad);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 */
|
/* only start our task if we ourselves decide to start in pull mode */
|
||||||
return gst_pad_start_task (sinkpad,
|
return gst_pad_start_task (sinkpad,
|
||||||
(GstTaskFunction) gst_tag_demux_element_loop, demux);
|
(GstTaskFunction) gst_tag_demux_element_loop, demux, NULL);
|
||||||
|
|
||||||
activate_push:
|
activate_push:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue