playsinkconvertbin: fix visualisations again
Make caps writable before merging other caps into them.
This commit is contained in:
parent
0d47c615ad
commit
7b5e1666a4
@ -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…
x
Reference in New Issue
Block a user