godot/modules
Rémi Verschelde 816366ba05 Fix loading and exporting of Theora and WebM video streams
Theora and WebM video streams were mistakenly imported with a ResourceImporter,
but those imported ogvstr and webmstr were simply links to the local resource.
While that works fine in the editor, it no longer works when exporting a game
as the "source" ogv and webm files are ommitted and only the ogvstr and webmstr
references were exported.

As discussed with @reduz, it doesn't make sense to import videos, as we only
intend to play them back and not modify them/access their raw data. As such we
use a ResourceFormatLoader instead of an importer, to load the file on the fly.
ogv and webm files linked to this loader are now considered as resources, and
thus exported.

Note: The Theora and WebM loaders lack any kind of validity check beyond the
existence of the target file, but it was already the case with the importer.
Better checks and error reports could be added, but those loaders will eventually
be obsoleted by GDNative plugins anyway.

Fixes #14954.

(cherry picked from commit 6dc20adadd)
2019-07-03 17:02:13 +02:00
..
bullet `GodotRestInfoContactResultCallback::addSingleResult` now returns normal 2019-07-03 15:50:10 +02:00
dds Fixed DDS loader according to issue #22530 2019-07-03 14:27:25 +02:00
enet Fix ENet incorrectly binding to wildcard. 2019-07-03 17:02:13 +02:00
etc Don't use -ffast-math or other unsafe math optimizations 2019-07-03 15:53:22 +02:00
freetype Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
gdnative Fix possible crash at NativeScript::get_base_script 2019-07-03 13:35:41 +02:00
gdscript Fix crash on signal/resume to dangling target 2019-07-03 15:16:33 +02:00
gridmap Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
hdr Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
jpg Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
mobile_vr Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
mono Prevent "cannot use a string pattern on a bytes-like object" 2019-07-03 13:58:55 +02:00
ogg Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
openssl Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
opus Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
pvr Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
recast Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
regex Assign pointer null in RegEx::clear to avoid double free on destruction. 2019-07-03 15:01:37 +02:00
squish Build squish decompression in runtime 2019-07-03 15:34:08 +02:00
stb_vorbis Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
svg Prevent upscaled SVG from exceeding Image bounds 2019-07-03 16:05:39 +02:00
tga Fix bits_per_pixel validation in BMP and TGA loader modules. 2019-07-03 13:02:45 +02:00
thekla_unwrap Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
theora Fix loading and exporting of Theora and WebM video streams 2019-07-03 17:02:13 +02:00
tinyexr Fix loading EXR with alpha channel 2019-07-03 15:50:46 +02:00
visual_script Fix Visual Script duplicate issue 2019-07-03 13:35:41 +02:00
vorbis Update copyright statements to 2019 2019-01-03 11:41:35 +01:00
webm Fix loading and exporting of Theora and WebM video streams 2019-07-03 17:02:13 +02:00
webp libwebp: Sync with upstream 1.0.2 2019-06-04 10:32:43 +02:00
SCsub - Improves portability in joystick buttons enum 2018-01-24 19:12:54 -03:00
register_module_types.h Update copyright statements to 2019 2019-01-03 11:41:35 +01:00