From 02c2b0b275fd5aa84b880c20ba50b8a55ea107ca Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 25 Apr 2018 02:42:43 +1000 Subject: [PATCH] nvenc: Use the HAVE_NVENC_GST_GL define instead of HAVE_GST_GL Fix compiling against the GL interop by gating includes on the right header --- sys/nvenc/gstnvh264enc.c | 2 +- sys/nvenc/gstnvh265enc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/nvenc/gstnvh264enc.c b/sys/nvenc/gstnvh264enc.c index c642b17b7f..ab9788843d 100644 --- a/sys/nvenc/gstnvh264enc.c +++ b/sys/nvenc/gstnvh264enc.c @@ -30,7 +30,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_nv_h264_enc_debug); #define GST_CAT_DEFAULT gst_nv_h264_enc_debug -#if HAVE_GST_GL +#if HAVE_NVENC_GST_GL #include #include #include diff --git a/sys/nvenc/gstnvh265enc.c b/sys/nvenc/gstnvh265enc.c index 23fbb6165e..c8cfdfec39 100644 --- a/sys/nvenc/gstnvh265enc.c +++ b/sys/nvenc/gstnvh265enc.c @@ -31,7 +31,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_nv_h265_enc_debug); #define GST_CAT_DEFAULT gst_nv_h265_enc_debug -#if HAVE_GST_GL +#if HAVE_NVENC_GST_GL #include #include #include