mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
caps: use gst_caps_append_structure_unchecked() macro once more
This commit is contained in:
parent
c5f85a1cda
commit
2d2ec4e3d5
1 changed files with 1 additions and 2 deletions
|
@ -780,8 +780,7 @@ gst_caps_merge_structure (GstCaps * caps, GstStructure * structure)
|
|||
}
|
||||
}
|
||||
if (unique) {
|
||||
gst_structure_set_parent_refcount (structure, &caps->refcount);
|
||||
g_ptr_array_add (caps->structs, structure);
|
||||
gst_caps_append_structure_unchecked (caps, structure);
|
||||
} else {
|
||||
gst_structure_free (structure);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue