caps: use gst_caps_append_structure_unchecked() macro once more

This commit is contained in:
Stefan Kost 2010-06-08 12:12:42 +03:00
parent c5f85a1cda
commit 2d2ec4e3d5

View file

@ -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);
}