mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
update for task api change
This commit is contained in:
parent
e956902511
commit
d90fd7a250
5 changed files with 8 additions and 8 deletions
|
@ -453,7 +453,7 @@ start_play_tune (GstSidDec * siddec)
|
|||
gst_event_new_segment (&segment));
|
||||
|
||||
res = gst_pad_start_task (siddec->srcpad,
|
||||
(GstTaskFunction) play_loop, siddec->srcpad);
|
||||
(GstTaskFunction) play_loop, siddec->srcpad, NULL);
|
||||
return res;
|
||||
|
||||
/* ERRORS */
|
||||
|
|
|
@ -337,7 +337,7 @@ gst_asf_demux_activate_mode (GstPad * sinkpad, GstObject * parent,
|
|||
demux->streaming = FALSE;
|
||||
|
||||
res = gst_pad_start_task (sinkpad, (GstTaskFunction) gst_asf_demux_loop,
|
||||
demux);
|
||||
demux, NULL);
|
||||
} else {
|
||||
res = gst_pad_stop_task (sinkpad);
|
||||
}
|
||||
|
@ -763,7 +763,7 @@ gst_asf_demux_handle_seek_event (GstASFDemux * demux, GstEvent * event)
|
|||
skip:
|
||||
/* restart our task since it might have been stopped when we did the flush */
|
||||
gst_pad_start_task (demux->sinkpad, (GstTaskFunction) gst_asf_demux_loop,
|
||||
demux);
|
||||
demux, NULL);
|
||||
|
||||
/* streaming can continue now */
|
||||
GST_PAD_STREAM_UNLOCK (demux->sinkpad);
|
||||
|
|
|
@ -224,7 +224,7 @@ gst_real_audio_demux_sink_activate_mode (GstPad * sinkpad, GstObject * parent,
|
|||
demux->seekable = TRUE;
|
||||
|
||||
res = gst_pad_start_task (sinkpad,
|
||||
(GstTaskFunction) gst_real_audio_demux_loop, demux);
|
||||
(GstTaskFunction) gst_real_audio_demux_loop, demux, NULL);
|
||||
} else {
|
||||
demux->seekable = FALSE;
|
||||
res = gst_pad_stop_task (sinkpad);
|
||||
|
@ -808,7 +808,7 @@ gst_real_audio_demux_handle_seek (GstRealAudioDemux * demux, GstEvent * event)
|
|||
demux->segment_running = TRUE;
|
||||
/* restart our task since it might have been stopped when we did the flush */
|
||||
gst_pad_start_task (demux->sinkpad,
|
||||
(GstTaskFunction) gst_real_audio_demux_loop, demux);
|
||||
(GstTaskFunction) gst_real_audio_demux_loop, demux, NULL);
|
||||
|
||||
/* streaming can continue now */
|
||||
GST_PAD_STREAM_UNLOCK (demux->sinkpad);
|
||||
|
|
|
@ -588,7 +588,7 @@ gst_rdt_manager_src_activate_mode (GstPad * pad, GstObject * parent,
|
|||
GST_DEBUG_OBJECT (rdtmanager, "Starting task on srcpad");
|
||||
result =
|
||||
gst_pad_start_task (pad, (GstTaskFunction) gst_rdt_manager_loop,
|
||||
pad);
|
||||
pad, NULL);
|
||||
} else {
|
||||
/* make sure all data processing stops ASAP */
|
||||
JBUF_LOCK (session);
|
||||
|
|
|
@ -585,7 +585,7 @@ gst_rmdemux_perform_seek (GstRMDemux * rmdemux, GstEvent * event)
|
|||
/* restart our task since it might have been stopped when we did the
|
||||
* flush. */
|
||||
gst_pad_start_task (rmdemux->sinkpad, (GstTaskFunction) gst_rmdemux_loop,
|
||||
rmdemux->sinkpad);
|
||||
rmdemux->sinkpad, NULL);
|
||||
}
|
||||
|
||||
done:
|
||||
|
@ -791,7 +791,7 @@ gst_rmdemux_sink_activate_mode (GstPad * sinkpad, GstObject * parent,
|
|||
demux->data_offset = G_MAXUINT;
|
||||
res =
|
||||
gst_pad_start_task (sinkpad, (GstTaskFunction) gst_rmdemux_loop,
|
||||
sinkpad);
|
||||
sinkpad, NULL);
|
||||
} else {
|
||||
res = gst_pad_stop_task (sinkpad);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue