diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-10-16 17:45:30 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-10-16 17:45:30 +0200 |
commit | 1a6a828fa269defda0ae084e7a6e1fa707b28cac (patch) | |
tree | 2bf1785f41090c22e269469c555e8218507b6d77 /src | |
parent | 7d13d66766d1c90995a86442f431c287e49bdd1d (diff) |
mm
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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"; |