summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-08-04 07:23:07 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-08-04 07:23:07 +0000
commit815eb01af17e509b5deaf187140b7faed8baa889 (patch)
tree68b0294faf8ffa55125201992608f64f1d27d444 /gst
parent115636d6d6cbb2d65c4cfaf2298050af73ee816a (diff)
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.
Diffstat (limited to 'gst')
-rw-r--r--gst/qtdemux/qtdemux.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 32cee0e5..ab25b290 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/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