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. --- ChangeLog | 6 ++++++ gst/qtdemux/qtdemux.c | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d4e23c08..f98563ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-04 Stefan Kost + + * gst/qtdemux/qtdemux.c: + Return the result of gst_pad_{start,stop}_task instead of hard-coded + TRUE. + 2008-08-04 Stefan Kost * gst/qtdemux/qtdemux.c: 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