summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--gst/qtdemux/qtdemux.c7
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d4e23c08..f98563ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
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:
* gst/qtdemux/qtdemux_fourcc.h:
Add keyword tag support. Fixes #520694 for qtdemux.
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