update for new memory api
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 22 Feb 2012 01:06:38 +0000 (02:06 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 22 Feb 2012 01:10:35 +0000 (02:10 +0100)
gst/audiovisualizers/gstbaseaudiovisualizer.c

index 27c605f2ff2cc8f172b92e64f2aea285708da411..6761d01d94301dc6e0ae036553846dc7bd4a9df9 100644 (file)
@@ -878,8 +878,8 @@ gst_base_audio_visualizer_chain (GstPad * pad, GstObject * parent,
       break;
 
     gst_buffer_take_memory (inbuf, -1,
-        gst_memory_new_wrapped (GST_MEMORY_FLAG_READONLY, adata, NULL, sbpf, 0,
-            sbpf));
+        gst_memory_new_wrapped (GST_MEMORY_FLAG_READONLY, adata, sbpf, 0,
+            sbpf, NULL, NULL));
 
     /* call class->render() vmethod */
     if (render) {