mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 23:46:43 +00:00
pbutils: fix visualization plugins
inbuf is persistent, GST_BUFFER_COPY_MEMORY's append behavior is not what we want. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6815>
This commit is contained in:
parent
3dff559d8b
commit
9bcd51d6ed
1 changed files with 1 additions and 0 deletions
|
@ -1181,6 +1181,7 @@ gst_audio_visualizer_chain (GstPad * pad, GstObject * parent,
|
|||
}
|
||||
}
|
||||
|
||||
gst_buffer_remove_all_memory (inbuf);
|
||||
gst_buffer_copy_into (inbuf, databuf, GST_BUFFER_COPY_MEMORY, 0, sbpf);
|
||||
gst_buffer_unref (databuf);
|
||||
|
||||
|
|
Loading…
Reference in a new issue