godot/modules/webm
Rémi Verschelde 6dc20adadd 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.
2018-07-03 20:21:46 +02:00
..
doc_classes Fix loading and exporting of Theora and WebM video streams 2018-07-03 20:21:46 +02:00
libvpx Fix Linux/X11 build on ARMs. 2018-05-11 17:34:43 +03:00
SCsub
config.py SCons: Pass env to modules can_build method 2018-05-30 19:11:36 +02:00
register_types.cpp Fix loading and exporting of Theora and WebM video streams 2018-07-03 20:21:46 +02:00
register_types.h
video_stream_webm.cpp Fix loading and exporting of Theora and WebM video streams 2018-07-03 20:21:46 +02:00
video_stream_webm.h Fix loading and exporting of Theora and WebM video streams 2018-07-03 20:21:46 +02:00