eglimage: Add compatibility define for DRM_FORMAT_NV24
authorSebastian Dröge <sebastian@centricular.com>
Tue, 23 Apr 2019 14:10:47 +0000 (17:10 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 7 Aug 2019 07:48:56 +0000 (08:48 +0100)
gst-libs/gst/gl/egl/gsteglimage.c

index a9f5401..7efb183 100644 (file)
 #ifndef DRM_FORMAT_GR88
 #define DRM_FORMAT_GR88 fourcc_code('G', 'R', '8', '8')
 #endif
+
+#ifndef DRM_FORMAT_NV24
+#define DRM_FORMAT_NV24 fourcc_code('N', 'V', '2', '4')
+#endif
 #endif
 
 #ifndef EGL_LINUX_DMA_BUF_EXT