From ccd2966f7a0af2bab970415225cbd4317392d89a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 1 Apr 2013 10:18:39 +0200 Subject: [PATCH] caps: Set sysmem features if explicitely requested --- gst/gstcaps.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gst/gstcaps.c b/gst/gstcaps.c index 4b6350d..4b3b8c8 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -113,10 +113,6 @@ typedef struct _GstCapsImpl /* quick way to append a structure without checking the args */ #define gst_caps_append_structure_unchecked(caps, s, f) G_STMT_START{\ GstCapsArrayElement __e={s, f}; \ - if (__e.features && gst_caps_features_is_equal (GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY, __e.features)) { \ - gst_caps_features_free (__e.features); \ - __e.features = NULL; \ - } \ if (gst_structure_set_parent_refcount (__e.structure, &GST_MINI_OBJECT_REFCOUNT(caps)) && \ (!__e.features || gst_caps_features_set_parent_refcount (__e.features, &GST_MINI_OBJECT_REFCOUNT(caps)))) \ g_array_append_val (GST_CAPS_ARRAY (caps), __e); \ -- 2.7.4