diff --git a/subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstglcontext_egl.c b/subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstglcontext_egl.c index a919014cca..e7f767ec6a 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstglcontext_egl.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstglcontext_egl.c @@ -1699,13 +1699,8 @@ gst_gl_context_egl_fetch_dma_formats (GstGLContext * context) for (i = 0; i < num_formats; i++) { EGLint num_mods = 0; - GstVideoFormat gst_format; GstGLDmaFormat dma_frmt; - gst_format = gst_video_dma_drm_fourcc_to_format (formats[i]); - if (gst_format == GST_VIDEO_FORMAT_UNKNOWN) - continue; - dma_frmt.fourcc = formats[i]; dma_frmt.modifiers = NULL;