videomixer2: Fix incorrect gst_buffer_replace() call
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 13 Oct 2011 11:29:50 +0000 (16:59 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 13 Oct 2011 11:29:50 +0000 (16:59 +0530)
This got exposed when gst_buffer_replace() was changed from a macro to a
function.

gst/videomixer/videomixer2.c

index 76bbe59..c6bddbe 100644 (file)
@@ -760,7 +760,7 @@ gst_videomixer2_fill_queues (GstVideoMixer2 * mix,
 
         if (buf == mixcol->queued) {
           gst_buffer_unref (buf);
-          gst_buffer_replace (mixcol->queued, NULL);
+          gst_buffer_replace (&mixcol->queued, NULL);
         } else {
           gst_buffer_unref (buf);
           buf = gst_collect_pads2_pop (mix->collect, &mixcol->collect);