From 42d9ebd3c775ae60b80a99ef8bd33a444de0fb21 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 20 May 2024 00:55:24 +0200 Subject: Do not force constant framerate for live streams --- src/main.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 45d6079..1381c3d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2267,12 +2267,6 @@ int main(int argc, char **argv) { requested_audio_inputs.push_back(std::move(mai)); } - if(is_livestream && framerate_mode != FramerateMode::CONSTANT) { - fprintf(stderr, "Info: framerate mode was forcefully set to \"cfr\" because live streaming was detected\n"); - framerate_mode = FramerateMode::CONSTANT; - framerate_mode_str = "cfr"; - } - if(is_livestream && recording_saved_script) { fprintf(stderr, "Warning: live stream detected, -sc script is ignored\n"); recording_saved_script = nullptr; -- cgit v1.2.3