summaryrefslogtreecommitdiff
path: root/ext/gme
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-06-20 10:34:48 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2012-06-20 10:40:42 +0200
commitdbed726057d3b2488c5d514ce14174fdc2dec6a4 (patch)
treec61f18985d429410092874a9fe82a0fb0a2d6c2e /ext/gme
parent9ad37611489735c2dbdf0296367fc8891355f6a4 (diff)
downloadgstreamer-plugins-bad-dbed726057d3b2488c5d514ce14174fdc2dec6a4.tar.gz
update for task api change
Diffstat (limited to 'ext/gme')
-rw-r--r--ext/gme/gstgme.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/gme/gstgme.c b/ext/gme/gstgme.c
index d787dbaf0..b349df734 100644
--- a/ext/gme/gstgme.c
+++ b/ext/gme/gstgme.c
@@ -256,7 +256,7 @@ gst_gme_dec_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
gme->seeking = TRUE;
gst_pad_start_task (gme->srcpad, (GstTaskFunction) gst_gme_play,
- gme->srcpad);
+ gme->srcpad, NULL);
GST_PAD_STREAM_UNLOCK (gme->srcpad);
result = TRUE;
@@ -461,7 +461,8 @@ gme_setup (GstGmeDec * gme)
gst_segment_init (&seg, GST_FORMAT_TIME);
gst_pad_push_event (gme->srcpad, gst_event_new_segment (&seg));
- gst_pad_start_task (gme->srcpad, (GstTaskFunction) gst_gme_play, gme->srcpad);
+ gst_pad_start_task (gme->srcpad, (GstTaskFunction) gst_gme_play, gme->srcpad,
+ NULL);
gme->initialized = TRUE;
gme->seeking = FALSE;