videomixer2: Fix incorrect gst_buffer_replace() call

This got exposed when gst_buffer_replace() was changed from a macro to a
function.
This commit is contained in:
Arun Raghavan 2011-10-13 16:59:50 +05:30
parent 1b56d40170
commit 4d3ee9005c

View 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);