mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
-Renamed GlobalConfig to ProjectSettings, makes more sense.
-Added system for feature overrides, it's pretty cool :)
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
/*************************************************************************/
|
||||
#include "video_stream_theora.h"
|
||||
|
||||
#include "global_config.h"
|
||||
#include "project_settings.h"
|
||||
#include "os/os.h"
|
||||
|
||||
#include "thirdparty/misc/yuv2rgb.h"
|
||||
@@ -728,7 +728,7 @@ void VideoStreamPlaybackTheora::play() {
|
||||
}
|
||||
|
||||
playing = true;
|
||||
delay_compensation = GlobalConfig::get_singleton()->get("audio/video_delay_compensation_ms");
|
||||
delay_compensation = ProjectSettings::get_singleton()->get("audio/video_delay_compensation_ms");
|
||||
delay_compensation /= 1000.0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user