From e8910763b4e3f91a1b1bd23917897bd230e1ea24 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 29 Oct 2011 09:27:46 +0200 Subject: [PATCH] demux: update for new task api --- ext/ffmpeg/gstffmpegdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ffmpeg/gstffmpegdemux.c b/ext/ffmpeg/gstffmpegdemux.c index a077deadf8..9ce2ea31a7 100644 --- a/ext/ffmpeg/gstffmpegdemux.c +++ b/ext/ffmpeg/gstffmpegdemux.c @@ -268,7 +268,7 @@ gst_ffmpegdemux_init (GstFFMpegDemux * demux) gst_pad_set_chain_function (demux->sinkpad, GST_DEBUG_FUNCPTR (gst_ffmpegdemux_chain)); /* task for driving ffmpeg in loop function */ - demux->task = gst_task_create ((GstTaskFunction) gst_ffmpegdemux_loop, demux); + demux->task = gst_task_new ((GstTaskFunction) gst_ffmpegdemux_loop, demux); demux->task_lock = g_new (GStaticRecMutex, 1); g_static_rec_mutex_init (demux->task_lock); gst_task_set_lock (demux->task, demux->task_lock);