Skip to content

Commit 8fb265b

Browse files
committed
cef: Address leftover comments from @vivia
See #92 (comment) See #92 (comment)
1 parent fd79063 commit 8fb265b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ set(GSTCEF_SRCS
8080
gstcefdemux.cc
8181
gstcefbin.cc
8282
gstcefaudiometa.cc
83-
gstcefloader.cc
8483
)
8584

8685
set(GSTCEFSUBPROCESS_SRCS

gstcef.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "gstcefsrc.h"
2121
#include "gstcefdemux.h"
2222
#include "gstcefbin.h"
23-
#ifdef GST_CEF_USE_SANDBOX
23+
#if defined(__APPLE)) && defined(GST_CEF_USE_SANDBOX)
2424
#include "gstcefloader.h"
2525
#endif
2626

@@ -32,7 +32,7 @@ plugin_init(GstPlugin *plugin)
3232
!gst_element_register (plugin, "cefbin", GST_RANK_NONE, GST_TYPE_CEF_BIN))
3333
return FALSE;
3434

35-
#ifdef GST_CEF_USE_SANDBOX
35+
#if defined(__APPLE)) && defined(GST_CEF_USE_SANDBOX)
3636
return gst_initialize_cef(FALSE);
3737
#else
3838
return TRUE;

0 commit comments

Comments
 (0)