godot/modules
Rémi Verschelde ac63e5d613 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.

(cherry picked from commit da411d1625)
2020-02-14 16:02:34 +01:00
..
arkit Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
assimp Add explanations for errors related to Vector/Quat normalization 2020-01-24 14:19:23 +01:00
bmp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
bullet doc: Drop unused 'category' property from header 2020-01-26 16:02:39 +01:00
camera Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
csg doc: Drop unused 'category' property from header 2020-01-26 16:02:39 +01:00
cvtt Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dds Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
enet doc: Drop unused 'category' property from header 2020-01-26 16:02:39 +01:00
etc Add support for Lum-alpha textures to ETC fallback 2020-01-03 11:10:44 -08:00
freetype Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gdnative doc: Drop unused 'category' property from header 2020-01-26 16:02:39 +01:00
gdscript Fix static functions loop using class' functions 2020-01-28 14:19:09 -05:00
gridmap Implement zooming using Ctrl + Mouse wheel in the GridMap editor 2020-02-14 15:52:21 +01:00
hdr Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
jpg Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
jsonrpc Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mbedtls Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mobile_vr doc: Drop unused 'category' property from header 2020-01-26 16:02:39 +01:00
mono [Mono] Basis/Transforms Array operator comments and improvements 2020-02-14 15:53:59 +01:00
ogg Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
opensimplex Increase the maximum number of octaves in OpenSimplexNoise to 9 2020-02-06 13:02:08 +01:00
opus Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pvr Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
recast Fix ClassDB API portability with some android and editor classes 2020-01-19 20:15:13 +01:00
regex doc: Drop unused 'category' property from header 2020-01-26 16:02:39 +01:00
squish Image: Include S3TC compression via Squish in non-tools build 2020-01-13 15:58:49 +01:00
stb_vorbis Fix empty audio infinite loop 2020-02-06 13:02:07 +01:00
svg Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tga Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
theora Workaround WebM playback bug after AudioServer latency fixes 2020-02-14 16:02:34 +01:00
tinyexr Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
upnp doc: Drop unused 'category' property from header 2020-01-26 16:02:39 +01:00
vhacd Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visual_script doc: Drop unused 'category' property from header 2020-01-26 16:02:39 +01:00
vorbis Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
webm Workaround WebM playback bug after AudioServer latency fixes 2020-02-14 16:02:34 +01:00
webp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
webrtc doc: Drop unused 'category' property from header 2020-01-26 16:02:39 +01:00
websocket Disable Nagle's algorithm for WebSocket TCP. 2020-01-28 14:10:46 +01:00
xatlas_unwrap Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_module_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Add 'split_libmodules' option to workaround linker issue 2019-12-11 15:40:28 +01:00