Revert "glupload: Only offer DMABuf caps feature if using EGL"

This reverts commit bc9afe7243.
This commit is contained in:
Nicolas Dufresne 2018-07-17 11:51:49 -04:00
parent bc9afe7243
commit ae5120a489

View file

@ -512,13 +512,6 @@ _dma_buf_upload_transform_caps (gpointer impl, GstGLContext * context,
(GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION); (GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION);
GstCaps *ret; GstCaps *ret;
/* Don't propose DMABuf caps feature unless it can be supported */
if (gst_gl_context_get_gl_platform (context) != GST_GL_PLATFORM_EGL)
return NULL;
if (!gst_gl_context_check_feature (context, "EGL_KHR_image_base"))
return NULL;
if (direction == GST_PAD_SINK) { if (direction == GST_PAD_SINK) {
GstCaps *tmp; GstCaps *tmp;