mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
glupload: relax the GLMemory uploader check for input caps features
As there may be a sysmem caps features with GLMemory filled buffers. e.g. videotestsrc ! glimagesink
This commit is contained in:
parent
ef987be337
commit
4288866e55
1 changed files with 0 additions and 4 deletions
|
@ -124,10 +124,6 @@ _gl_memory_upload_accept (gpointer impl, GstBuffer * buffer, GstCaps * in_caps,
|
|||
gl_features =
|
||||
gst_caps_features_from_string (GST_CAPS_FEATURE_MEMORY_GL_MEMORY);
|
||||
|
||||
features = gst_caps_get_features (in_caps, 0);
|
||||
if (!gst_caps_features_is_equal (features, gl_features))
|
||||
ret = FALSE;
|
||||
|
||||
features = gst_caps_get_features (out_caps, 0);
|
||||
if (!gst_caps_features_is_equal (features, gl_features))
|
||||
ret = FALSE;
|
||||
|
|
Loading…
Reference in a new issue