caps: ensure writable caps prior to modification
This commit is contained in:
parent
3776eb9e25
commit
7a7119ec99
@ -1552,6 +1552,8 @@ gst_caps_normalize (GstCaps * caps)
|
||||
|
||||
g_return_val_if_fail (GST_IS_CAPS (caps), NULL);
|
||||
|
||||
caps = gst_caps_make_writable (caps);
|
||||
|
||||
nf.caps = caps;
|
||||
nf.writable = FALSE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user