Copy all still existing structure references before calling gst_caps_do_simplify
This commit is contained in:
parent
55df427fab
commit
be6d49095f
@ -186,9 +186,9 @@ public bool DoSimplify () {
|
|||||||
if (!IsWritable)
|
if (!IsWritable)
|
||||||
throw new ApplicationException ();
|
throw new ApplicationException ();
|
||||||
|
|
||||||
/* FIXME: This might remove/free structures, we have to copy
|
/* FIXME: This is not optimal but we don't know before
|
||||||
* them before with RemoveStructureReference() somehow
|
* which structures will be removed */
|
||||||
*/
|
RemoveStructureReferences ();
|
||||||
|
|
||||||
return gst_caps_do_simplify (Handle);
|
return gst_caps_do_simplify (Handle);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user