From 815eb01af17e509b5deaf187140b7faed8baa889 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 4 Aug 2008 07:23:07 +0000 Subject: 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. --- gst/qtdemux/qtdemux.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gst') 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 -- cgit