Commit dc5dd864 authored by Nicolas Dufresne's avatar Nicolas Dufresne Committed by Tim-Philipp Müller
Browse files

gldownload: Add missing ifdef for dmabuf and egl

This fixes the build for platforms that don't support one or the other.
parent b769f022
......@@ -132,9 +132,11 @@ gst_gl_download_element_set_caps (GstBaseTransform * bt, GstCaps * in_caps,
if (gst_caps_features_contains (features, GST_CAPS_FEATURE_MEMORY_GL_MEMORY)) {
/* do nothing with the buffer */
} else if (gst_caps_features_contains (features,
dl->dmabuf_allocator = gst_dmabuf_allocator_new ();
} else if (gst_caps_features_contains (features,
dl->do_pbo_transfers = TRUE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment