From 4d3ee9005c699d8db232224106874496f1fc277e Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Thu, 13 Oct 2011 16:59:50 +0530 Subject: [PATCH] videomixer2: Fix incorrect gst_buffer_replace() call This got exposed when gst_buffer_replace() was changed from a macro to a function. --- gst/videomixer/videomixer2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c index 76bbe59..c6bddbe 100644 --- a/gst/videomixer/videomixer2.c +++ b/gst/videomixer/videomixer2.c @@ -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); -- 2.7.4