diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2019-04-23 17:10:47 +0300 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-05-01 19:09:21 +0100 |
commit | ccf0d7142c071220f3c97ae713b58f4f780485e2 (patch) | |
tree | 8e708404cd2373e8cf1488fec5c564085f47321d | |
parent | 2cc018e8828b98dd12603bb1c4e7841141183667 (diff) | |
download | gstreamer-plugins-base-ccf0d7142c071220f3c97ae713b58f4f780485e2.tar.gz |
eglimage: Add compatibility define for DRM_FORMAT_NV24
-rw-r--r-- | gst-libs/gst/gl/egl/gsteglimage.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/egl/gsteglimage.c b/gst-libs/gst/gl/egl/gsteglimage.c index b7f2d989e..2597292f3 100644 --- a/gst-libs/gst/gl/egl/gsteglimage.c +++ b/gst-libs/gst/gl/egl/gsteglimage.c @@ -64,6 +64,10 @@ #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 |