summaryrefslogtreecommitdiff
path: root/ext/mimic
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/mimic
parent9ad37611489735c2dbdf0296367fc8891355f6a4 (diff)
update for task api change
Diffstat (limited to 'ext/mimic')
-rw-r--r--ext/mimic/gstmimenc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mimic/gstmimenc.c b/ext/mimic/gstmimenc.c
index f4957ccb1..0a3a241fd 100644
--- a/ext/mimic/gstmimenc.c
+++ b/ext/mimic/gstmimenc.c
@@ -597,7 +597,8 @@ gst_mim_enc_change_state (GstElement * element, GstStateChange transition)
}
GST_OBJECT_UNLOCK (mimenc);
if (paused_mode) {
- if (!gst_pad_start_task (mimenc->srcpad, paused_mode_task, mimenc)) {
+ if (!gst_pad_start_task (mimenc->srcpad, paused_mode_task, mimenc,
+ NULL)) {
ret = GST_STATE_CHANGE_FAILURE;
GST_ERROR_OBJECT (mimenc, "Can not start task");
}