mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Clean up latency related functions
This commit is contained in:
@@ -365,7 +365,7 @@ void VideoStreamPlaybackTheora::set_file(const String &p_file) {
|
||||
|
||||
float VideoStreamPlaybackTheora::get_time() const {
|
||||
|
||||
return time - AudioServer::get_singleton()->get_output_delay() - delay_compensation; //-((get_total())/(float)vi.rate);
|
||||
return time - AudioServer::get_singleton()->get_output_latency() - delay_compensation; //-((get_total())/(float)vi.rate);
|
||||
};
|
||||
|
||||
Ref<Texture> VideoStreamPlaybackTheora::get_texture() {
|
||||
|
||||
Reference in New Issue
Block a user