-Renamed GlobalConfig to ProjectSettings, makes more sense.

-Added system for feature overrides, it's pretty cool :)
This commit is contained in:
Juan Linietsky
2017-07-19 17:00:46 -03:00
parent 89588d4334
commit 25678b1876
162 changed files with 1296 additions and 831 deletions

View File

@ -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;