Commit 7a7119ec authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

caps: ensure writable caps prior to modification

parent 3776eb9e
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment