summaryrefslogtreecommitdiff
path: root/gst/gstcapsfeatures.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-01 10:19:25 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-01 10:19:25 +0200
commita838e5aa75f037bd78fdc17ce53bdd6695a1dc6e (patch)
treeed0db3ad8e774c18712eb026201b755f5761eab0 /gst/gstcapsfeatures.c
parentefcb4023e6c1c71d281b41e14a6e4800775cb6f1 (diff)
capsfeatures: For copying features it's not required to have no parent refcount
Diffstat (limited to 'gst/gstcapsfeatures.c')
-rw-r--r--gst/gstcapsfeatures.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/gstcapsfeatures.c b/gst/gstcapsfeatures.c
index 5fa6bbaba..3a50254f6 100644
--- a/gst/gstcapsfeatures.c
+++ b/gst/gstcapsfeatures.c
@@ -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);