Display and control your Android device
Expose skip_frames as a build option
Romain Vimont42882702d710
diff --git a/app/meson.build b/app/meson.buildindex 4503a0cb..e81130bd 100644--- a/app/meson.build+++ b/app/meson.build@@ -74,7 +74,7 @@ conf.set('DEFAULT_BIT_RATE', '4000000') # 4Mbps# whether the app should always display the most recent available frame, even# if the previous one has not been displayed# SKIP_FRAMES improves latency at the cost of framerate-conf.set('SKIP_FRAMES', true)+conf.set('SKIP_FRAMES', get_option('skip_frames'))configure_file(configuration: conf, output: 'config.h')diff --git a/meson_options.txt b/meson_options.txtindex eb33a01a..cd840fb5 100644--- a/meson_options.txt+++ b/meson_options.txt@@ -2,3 +2,4 @@ option('build_app', type: 'boolean', value: true)option('build_server', type: 'boolean', value: true)option('prebuilt_server', type: 'string')option('override_server_jar', type: 'string')+option('skip_frames', type: 'boolean', value: true)