capsfeatures: For copying features it's not required to have no parent refcount
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 1 Apr 2013 08:19:25 +0000 (10:19 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 1 Apr 2013 08:19:25 +0000 (10:19 +0200)
gst/gstcapsfeatures.c

index 5fa6bba..3a50254 100644 (file)
@@ -318,7 +318,6 @@ gst_caps_features_copy (const GstCapsFeatures * features)
   guint i, n;
 
   g_return_val_if_fail (features != NULL, NULL);
-  g_return_val_if_fail (features->parent_refcount == NULL, NULL);
 
   copy = gst_caps_features_new_empty ();
   n = gst_caps_features_get_size (features);