diff options
author | Matt Hughes <mhughes@laughlin.com> | 2017-09-14 15:45:02 -0500 |
---|---|---|
committer | Hiroshi Ogawa <hi.ogawa.zz@gmail.com> | 2017-10-14 23:20:39 +0900 |
commit | 3edd3cd377511b4cef27478be24f7562273d69ce (patch) | |
tree | 204fcdded3bc7b46a6b559a5e5a44eba4244f25b /modules/vorbis/SCsub | |
parent | e8f8359b2edd583480218b7348cdbe43e959a16e (diff) |
Fix video playback
This adds support to
- VideoPlayer
- VideoStreamWebm
- VideoStreamTheora
Diffstat (limited to 'modules/vorbis/SCsub')
-rw-r--r-- | modules/vorbis/SCsub | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/vorbis/SCsub b/modules/vorbis/SCsub index 9d2d0feb92..55a112585b 100644 --- a/modules/vorbis/SCsub +++ b/modules/vorbis/SCsub @@ -5,6 +5,8 @@ Import('env_modules') env_vorbis = env_modules.Clone() +stub = True + # Thirdparty source files if env['builtin_libvorbis']: thirdparty_dir = "#thirdparty/libvorbis/" @@ -45,5 +47,9 @@ if env['builtin_libvorbis']: if env['builtin_libogg']: env_vorbis.Append(CPPPATH=["#thirdparty/libogg"]) -# Godot source files -env_vorbis.add_source_files(env.modules_sources, "*.cpp") +if not stub: + # Module files + env_vorbis.add_source_files(env.modules_sources, "*.cpp") +else: + # Module files + env_vorbis.add_source_files(env.modules_sources, "stub/register_types.cpp") |