-Renamed GlobalConfig to ProjectSettings, makes more sense.
-Added system for feature overrides, it's pretty cool :)
This commit is contained in:
@ -34,7 +34,7 @@
|
||||
|
||||
#include "mkvparser/mkvparser.h"
|
||||
|
||||
#include "global_config.h"
|
||||
#include "project_settings.h"
|
||||
#include "os/file_access.h"
|
||||
|
||||
#include "thirdparty/misc/yuv2rgb.h"
|
||||
@ -168,7 +168,7 @@ void VideoStreamPlaybackWebm::play() {
|
||||
|
||||
stop();
|
||||
|
||||
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;
|
||||
|
||||
playing = true;
|
||||
|
||||
Reference in New Issue
Block a user