Revert "glupload: allow system memory for dmabuf in transform_caps"

This reverts commit d7eb48cce7.
This commit is contained in:
Nicolas Dufresne 2018-09-13 20:02:41 -04:00
parent da30327b94
commit ffcab084d5

View file

@ -533,16 +533,10 @@ _dma_buf_upload_transform_caps (gpointer impl, GstGLContext * context,
ret = tmp;
} else {
gint i, n;
GstCaps *tmp;
ret =
_set_caps_features_with_passthrough (caps,
GST_CAPS_FEATURE_MEMORY_DMABUF, passthrough);
tmp =
_set_caps_features_with_passthrough (caps,
GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY, passthrough);
gst_caps_append (ret, tmp);
n = gst_caps_get_size (ret);
for (i = 0; i < n; i++) {