godot/modules/webm
Rémi Verschelde da411d1625 Workaround WebM playback bug after AudioServer latency fixes
af9bb0ea15 fixed AudioServer's
`get_output_delay()` (which used to always return 0) while renaming it
to `get_output_latency()`. It now returns the latency from the
AudioDriver, which can be non-0.

While this was a clear bugfix, it broke playback for WebM files without
audio track. It seems like the playback code, even though it queried
the output delay to calculate a time compensation, was designed to work
even though the delay value was actually bogus. Now that it's correct,
it's not working.

As a workaround we comment out uses of the output latency, restoring
the behavior of Godot 3.1.

This code should still be reviewed by someone more versed in video
playback and fixed to properly account for the non-0 driver latency.

Fixes #35760.
2020-02-07 21:01:05 +01:00
..
doc_classes Update docs to version 4.0 2020-01-31 17:15:41 -08:00
libvpx SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor defines 2019-07-03 09:59:04 +02:00
config.py Unexpose subclasses of ResourceFormatLoader and -Saver 2019-06-18 17:56:23 +02:00
register_types.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Enable C++11 on the whole codebase 2019-07-22 17:17:30 +02:00
video_stream_webm.cpp Workaround WebM playback bug after AudioServer latency fixes 2020-02-07 21:01:05 +01:00
video_stream_webm.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00