update for task api change
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 20 Jun 2012 08:39:37 +0000 (10:39 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 20 Jun 2012 08:39:37 +0000 (10:39 +0200)
ext/sidplay/gstsiddec.cc
gst/asfdemux/gstasfdemux.c
gst/realmedia/rademux.c
gst/realmedia/rdtmanager.c
gst/realmedia/rmdemux.c

index 17b611b..8233ac0 100644 (file)
@@ -453,7 +453,7 @@ start_play_tune (GstSidDec * siddec)
       gst_event_new_segment (&segment));
 
   res = gst_pad_start_task (siddec->srcpad,
-      (GstTaskFunction) play_loop, siddec->srcpad);
+      (GstTaskFunction) play_loop, siddec->srcpad, NULL);
   return res;
 
   /* ERRORS */
index 51c421e..4d79e09 100644 (file)
@@ -337,7 +337,7 @@ gst_asf_demux_activate_mode (GstPad * sinkpad, GstObject * parent,
         demux->streaming = FALSE;
 
         res = gst_pad_start_task (sinkpad, (GstTaskFunction) gst_asf_demux_loop,
-            demux);
+            demux, NULL);
       } else {
         res = gst_pad_stop_task (sinkpad);
       }
@@ -763,7 +763,7 @@ gst_asf_demux_handle_seek_event (GstASFDemux * demux, GstEvent * event)
 skip:
   /* restart our task since it might have been stopped when we did the flush */
   gst_pad_start_task (demux->sinkpad, (GstTaskFunction) gst_asf_demux_loop,
-      demux);
+      demux, NULL);
 
   /* streaming can continue now */
   GST_PAD_STREAM_UNLOCK (demux->sinkpad);
index 0260c58..a81ee54 100644 (file)
@@ -224,7 +224,7 @@ gst_real_audio_demux_sink_activate_mode (GstPad * sinkpad, GstObject * parent,
         demux->seekable = TRUE;
 
         res = gst_pad_start_task (sinkpad,
-            (GstTaskFunction) gst_real_audio_demux_loop, demux);
+            (GstTaskFunction) gst_real_audio_demux_loop, demux, NULL);
       } else {
         demux->seekable = FALSE;
         res = gst_pad_stop_task (sinkpad);
@@ -808,7 +808,7 @@ gst_real_audio_demux_handle_seek (GstRealAudioDemux * demux, GstEvent * event)
   demux->segment_running = TRUE;
   /* restart our task since it might have been stopped when we did the flush */
   gst_pad_start_task (demux->sinkpad,
-      (GstTaskFunction) gst_real_audio_demux_loop, demux);
+      (GstTaskFunction) gst_real_audio_demux_loop, demux, NULL);
 
   /* streaming can continue now */
   GST_PAD_STREAM_UNLOCK (demux->sinkpad);
index 244c0cb..10cb584 100644 (file)
@@ -588,7 +588,7 @@ gst_rdt_manager_src_activate_mode (GstPad * pad, GstObject * parent,
         GST_DEBUG_OBJECT (rdtmanager, "Starting task on srcpad");
         result =
             gst_pad_start_task (pad, (GstTaskFunction) gst_rdt_manager_loop,
-            pad);
+            pad, NULL);
       } else {
         /* make sure all data processing stops ASAP */
         JBUF_LOCK (session);
index e2ed8ac..c98e16a 100644 (file)
@@ -585,7 +585,7 @@ gst_rmdemux_perform_seek (GstRMDemux * rmdemux, GstEvent * event)
     /* restart our task since it might have been stopped when we did the 
      * flush. */
     gst_pad_start_task (rmdemux->sinkpad, (GstTaskFunction) gst_rmdemux_loop,
-        rmdemux->sinkpad);
+        rmdemux->sinkpad, NULL);
   }
 
 done:
@@ -791,7 +791,7 @@ gst_rmdemux_sink_activate_mode (GstPad * sinkpad, GstObject * parent,
         demux->data_offset = G_MAXUINT;
         res =
             gst_pad_start_task (sinkpad, (GstTaskFunction) gst_rmdemux_loop,
-            sinkpad);
+            sinkpad, NULL);
       } else {
         res = gst_pad_stop_task (sinkpad);
       }