mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
caps: Set sysmem features if explicitely requested
This commit is contained in:
parent
c989ff928b
commit
ccd2966f7a
1 changed files with 0 additions and 4 deletions
|
@ -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); \
|
||||
|
|
Loading…
Reference in a new issue