virtualx-engine/servers
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
..
arvr Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio Remove duplicate WARN_PRINT macro. 2020-02-05 11:13:24 +01:00
camera Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics Merge pull request #33615 from raphael10241024/fix_shape_change 2020-01-16 22:56:16 +01:00
physics_2d Merge pull request #33615 from raphael10241024/fix_shape_change 2020-01-16 22:56:16 +01:00
visual Merge pull request #35986 from Chaosus/shader_index 2020-02-07 20:45:57 +01:00
arvr_server.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
arvr_server.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_server.cpp Workaround WebM playback bug after AudioServer latency fixes 2020-02-07 21:01:05 +01:00
audio_server.h Workaround WebM playback bug after AudioServer latency fixes 2020-02-07 21:01:05 +01:00
camera_server.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
camera_server.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics_2d_server.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics_2d_server.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics_server.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics_server.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_server_types.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_server_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub Adding a new Camera Server implementation to Godot. 2019-06-15 21:30:32 +10:00
server_wrap_mt_common.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visual_server.cpp Add project setting for max irradiance size 2020-01-25 13:27:13 -08:00
visual_server.h Remove unused #if 0'ed code 2020-01-21 21:41:54 +01:00