mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
playsinkconvertbin: fix visualisations again
Make caps writable before merging other caps into them.
This commit is contained in:
parent
0d47c615ad
commit
7b5e1666a4
1 changed files with 1 additions and 0 deletions
|
@ -378,6 +378,7 @@ gst_play_sink_convert_bin_getcaps (GstPad * pad)
|
|||
GstCaps *peer_caps = gst_pad_get_caps_reffed (peer);
|
||||
gst_object_unref (peer);
|
||||
if (self->converter_caps) {
|
||||
peer_caps = gst_caps_make_writable (peer_caps);
|
||||
gst_caps_merge (peer_caps, gst_caps_ref (self->converter_caps));
|
||||
ret = peer_caps;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue