diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-05-20 00:55:24 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-05-20 00:55:24 +0200 |
commit | 42d9ebd3c775ae60b80a99ef8bd33a444de0fb21 (patch) | |
tree | a8ea09f74156a774ca2de6589e5dcca8790b1489 /src/main.cpp | |
parent | dda2de856c4ba0c273be077bfcebd0e5e2fe9970 (diff) |
Do not force constant framerate for live streams
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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; |