mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 05:26:23 +00:00
Copy all still existing structure references before calling gst_caps_do_simplify
This commit is contained in:
parent
55df427fab
commit
be6d49095f
1 changed files with 3 additions and 3 deletions
|
@ -186,9 +186,9 @@ public bool DoSimplify () {
|
|||
if (!IsWritable)
|
||||
throw new ApplicationException ();
|
||||
|
||||
/* FIXME: This might remove/free structures, we have to copy
|
||||
* them before with RemoveStructureReference() somehow
|
||||
*/
|
||||
/* FIXME: This is not optimal but we don't know before
|
||||
* which structures will be removed */
|
||||
RemoveStructureReferences ();
|
||||
|
||||
return gst_caps_do_simplify (Handle);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue