diff --git a/subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gsteglimage.c b/subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gsteglimage.c index f83e629ce9..58f44d85b1 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gsteglimage.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gsteglimage.c @@ -555,6 +555,14 @@ _drm_rgba_fourcc_from_info (const GstVideoInfo * info, int plane, *out_format = GST_GL_RG16; return rg16_fourcc; + case GST_VIDEO_FORMAT_Y212_LE: + *out_format = GST_GL_RG16; + return DRM_FORMAT_GR1616; + + case GST_VIDEO_FORMAT_Y212_BE: + *out_format = GST_GL_RG16; + return DRM_FORMAT_RG1616; + default: GST_ERROR ("Unsupported format for DMABuf."); return -1;