From 21e9f64ab24baf75d6765bf2db32288413a10e23 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 20 Jun 2012 10:33:24 +0200 Subject: [PATCH] update for task api change --- ext/ogg/gstoggdemux.c | 4 ++-- gst-libs/gst/tag/gsttagdemux.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index e50db334dc..97d12ccdc9 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -3246,7 +3246,7 @@ gst_ogg_demux_perform_seek_pull (GstOggDemux * ogg, GstEvent * event) /* restart our task since it might have been stopped when we did the * flush. */ gst_pad_start_task (ogg->sinkpad, (GstTaskFunction) gst_ogg_demux_loop, - ogg->sinkpad); + ogg->sinkpad, NULL); } /* streaming can continue now */ @@ -4592,7 +4592,7 @@ gst_ogg_demux_sink_activate_mode (GstPad * sinkpad, GstObject * parent, ogg->pullmode = TRUE; res = gst_pad_start_task (sinkpad, (GstTaskFunction) gst_ogg_demux_loop, - sinkpad); + sinkpad, NULL); } else { res = gst_pad_stop_task (sinkpad); } diff --git a/gst-libs/gst/tag/gsttagdemux.c b/gst-libs/gst/tag/gsttagdemux.c index daf3e7a3e2..957ef0966d 100644 --- a/gst-libs/gst/tag/gsttagdemux.c +++ b/gst-libs/gst/tag/gsttagdemux.c @@ -1323,7 +1323,7 @@ gst_tag_demux_sink_activate (GstPad * sinkpad, GstObject * parent) /* only start our task if we ourselves decide to start in pull mode */ return gst_pad_start_task (sinkpad, - (GstTaskFunction) gst_tag_demux_element_loop, demux); + (GstTaskFunction) gst_tag_demux_element_loop, demux, NULL); activate_push: {