Bug fix: Gstreamer-1.0 behaviour should still mimic the old one 59/5859/1
authorJosé Bollo <jose.bollo@eurogiciel.fr>
Wed, 17 Jul 2013 10:16:12 +0000 (12:16 +0200)
committerJosé Bollo <jose.bollo@eurogiciel.fr>
Wed, 17 Jul 2013 10:16:12 +0000 (12:16 +0200)
Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp

index 72911b7..c481268 100755 (executable)
@@ -207,7 +207,7 @@ static void webkit_web_audio_src_init(WebKitWebAudioSrc* src)
 
 #ifdef GST_API_VERSION_1
     g_rec_mutex_init(&priv->mutex);
-    priv->task = gst_task_new(reinterpret_cast<GstTaskFunction>(webKitWebAudioSrcLoop), src, reinterpret_cast<GDestroyNotify>(g_object_unref));
+    priv->task = gst_task_new(reinterpret_cast<GstTaskFunction>(webKitWebAudioSrcLoop), src, 0);
 #else
     g_static_rec_mutex_init(&priv->mutex);
     priv->task = gst_task_create(reinterpret_cast<GstTaskFunction>(webKitWebAudioSrcLoop), src);