From 8fb265be60079d0593b1693fcf81e8928f6993ee Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" Date: Thu, 31 Oct 2024 10:01:01 -0300 Subject: [PATCH] cef: Address leftover comments from @vivia See https://github.com/centricular/gstcefsrc/pull/92#discussion_r1824334508 See https://github.com/centricular/gstcefsrc/pull/92#discussion_r1824303694 --- CMakeLists.txt | 1 - gstcef.cc | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c147aed..d586a55 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,7 +80,6 @@ set(GSTCEF_SRCS gstcefdemux.cc gstcefbin.cc gstcefaudiometa.cc - gstcefloader.cc ) set(GSTCEFSUBPROCESS_SRCS diff --git a/gstcef.cc b/gstcef.cc index 3e94108..79f1be5 100644 --- a/gstcef.cc +++ b/gstcef.cc @@ -20,7 +20,7 @@ #include "gstcefsrc.h" #include "gstcefdemux.h" #include "gstcefbin.h" -#ifdef GST_CEF_USE_SANDBOX +#if defined(__APPLE)) && defined(GST_CEF_USE_SANDBOX) #include "gstcefloader.h" #endif @@ -32,7 +32,7 @@ plugin_init(GstPlugin *plugin) !gst_element_register (plugin, "cefbin", GST_RANK_NONE, GST_TYPE_CEF_BIN)) return FALSE; -#ifdef GST_CEF_USE_SANDBOX +#if defined(__APPLE)) && defined(GST_CEF_USE_SANDBOX) return gst_initialize_cef(FALSE); #else return TRUE;