mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
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:
parent
1b56d40170
commit
4d3ee9005c
1 changed files with 1 additions and 1 deletions
|
@ -760,7 +760,7 @@ gst_videomixer2_fill_queues (GstVideoMixer2 * mix,
|
||||||
|
|
||||||
if (buf == mixcol->queued) {
|
if (buf == mixcol->queued) {
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
gst_buffer_replace (mixcol->queued, NULL);
|
gst_buffer_replace (&mixcol->queued, NULL);
|
||||||
} else {
|
} else {
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
buf = gst_collect_pads2_pop (mix->collect, &mixcol->collect);
|
buf = gst_collect_pads2_pop (mix->collect, &mixcol->collect);
|
||||||
|
|
Loading…
Reference in a new issue