mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +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/6814>
This commit is contained in:
parent
7bebb24880
commit
59dfc54b61
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