mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
caps: ensure writable caps prior to modification
This commit is contained in:
parent
3776eb9e25
commit
7a7119ec99
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue