From 1a6a828fa269defda0ae084e7a6e1fa707b28cac Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 16 Oct 2022 17:45:30 +0200 Subject: mm --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index a405023..1fc1afa 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1501,6 +1501,8 @@ int main(int argc, char **argv) { // while with h264 the fps doesn't drop. if(!h265_codec) { fprintf(stderr, "Info: using h264 encoder because a codec was not specified and your gpu does not support h265\n"); + codec_to_use = "h264"; + video_codec = VideoCodec::H264; } else if(fps > 60) { fprintf(stderr, "Info: using h264 encoder because a codec was not specified and fps is more than 60\n"); codec_to_use = "h264"; -- cgit v1.2.3