From: Stefan Kost Date: Tue, 8 Jun 2010 09:12:42 +0000 (+0300) Subject: caps: use gst_caps_append_structure_unchecked() macro once more X-Git-Tag: RELEASE-0.10.30~134 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d2ec4e3d57be0e731eb275b4f574d1717e370e7;p=platform%2Fupstream%2Fgstreamer.git caps: use gst_caps_append_structure_unchecked() macro once more --- diff --git a/gst/gstcaps.c b/gst/gstcaps.c index 433c929..7f59aaf 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -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); }