mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
gst/qtdemux/qtdemux.c: Return the result of gst_pad_{start,stop}_task instead of hard-coded
Original commit message from CVS: * gst/qtdemux/qtdemux.c: Return the result of gst_pad_{start,stop}_task instead of hard-coded TRUE.
This commit is contained in:
parent
115636d6d6
commit
815eb01af1
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-08-04 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/qtdemux/qtdemux.c:
|
||||
Return the result of gst_pad_{start,stop}_task instead of hard-coded
|
||||
TRUE.
|
||||
|
||||
2008-08-04 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/qtdemux/qtdemux.c:
|
||||
|
|
|
@ -2296,13 +2296,12 @@ qtdemux_sink_activate_pull (GstPad * sinkpad, gboolean active)
|
|||
if (active) {
|
||||
demux->pullbased = TRUE;
|
||||
demux->segment_running = TRUE;
|
||||
gst_pad_start_task (sinkpad, (GstTaskFunction) gst_qtdemux_loop, sinkpad);
|
||||
return gst_pad_start_task (sinkpad, (GstTaskFunction) gst_qtdemux_loop,
|
||||
sinkpad);
|
||||
} else {
|
||||
demux->segment_running = FALSE;
|
||||
gst_pad_stop_task (sinkpad);
|
||||
return gst_pad_stop_task (sinkpad);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue