mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-25 07:18:52 -04:00
deps/obs-scripting: Expose obs_output_output_caption_text1 to scripts
Make obs_output_output_caption_text1 usable via scripting if captions are enabled to make adding additional caption sources easier.
This commit is contained in:
1 parent
233c4a85d2
commit
eebb8f6597
4 files changed
+7
-2
No files matched your search
Vendored
+4
@@ -77,6 +77,10 @@ if(UI_ENABLED)
|
||||
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/UI/obs-frontend-api")
|
||||
endif()
|
||||
|
||||
IF(BUILD_CAPTIONS)
|
||||
string(TOUPPER "${BUILD_CAPTIONS}" BUILD_CAPTIONS)
|
||||
endif()
|
||||
|
||||
configure_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/obs-scripting-config.h.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/obs-scripting-config.h")
|
||||
|
||||
@@ -21,3 +21,4 @@
|
||||
#define COMPILE_LUA @LUAJIT_FOUND@
|
||||
#define COMPILE_PYTHON @PYTHON_FOUND@
|
||||
#define UI_ENABLED @UI_ENABLED@
|
||||
#define BUILD_CAPTIONS @BUILD_CAPTIONS@
|
||||
Vendored
+1
-1
@@ -84,6 +84,7 @@ static inline void wrap_blog(int log_level, const char *message)
|
||||
%include "graphics/vec2.h"
|
||||
%include "graphics/quat.h"
|
||||
%include "graphics/image-file.h"
|
||||
%include "obs-scripting-config.h"
|
||||
%include "obs-data.h"
|
||||
%include "obs-source.h"
|
||||
%include "obs-properties.h"
|
||||
@@ -95,7 +96,6 @@ static inline void wrap_blog(int log_level, const char *message)
|
||||
%include "callback/signal.h"
|
||||
%include "util/bmem.h"
|
||||
%include "util/base.h"
|
||||
%include "obs-scripting-config.h"
|
||||
|
||||
#if UI_ENABLED
|
||||
%include "obs-frontend-api.h"
|
||||
|
||||
+1
-1
@@ -82,6 +82,7 @@ static inline void wrap_blog(int log_level, const char *message)
|
||||
%include "graphics/vec3.h"
|
||||
%include "graphics/vec2.h"
|
||||
%include "graphics/quat.h"
|
||||
%include "obs-scripting-config.h"
|
||||
%include "obs-data.h"
|
||||
%include "obs-source.h"
|
||||
%include "obs-properties.h"
|
||||
@@ -93,7 +94,6 @@ static inline void wrap_blog(int log_level, const char *message)
|
||||
%include "callback/signal.h"
|
||||
%include "util/bmem.h"
|
||||
%include "util/base.h"
|
||||
%include "obs-scripting-config.h"
|
||||
|
||||
#if UI_ENABLED
|
||||
%include "obs-frontend-api.h"
|
||||
|
||||
Reference in new issue
Block a user