diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-04-29 23:37:36 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-04-29 23:37:36 +0200 |
commit | 6172cac8dc03265e327c34d56ec6330d18d18040 (patch) | |
tree | 4a805298191ce0c26932a0eca6a3ddab595e3c66 /src | |
parent | 26eeff170576a3cfcb482ee66d3f2e662f3068ab (diff) |
ytdl: prefer mp4 because of better video playback performance
Diffstat (limited to 'src')
-rw-r--r-- | src/VideoPlayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp index 32eda39..6a34f29 100644 --- a/src/VideoPlayer.cpp +++ b/src/VideoPlayer.cpp @@ -227,7 +227,7 @@ namespace QuickMedia { if(startup_args.no_video) ytdl_format = "--ytdl-format=bestaudio/best"; else - ytdl_format = "--ytdl-format=bestvideo[height<=?" + std::to_string(startup_args.monitor_height) + "]+bestaudio/best"; + ytdl_format = "--ytdl-format=bestvideo[ext=mp4][height<=?" + std::to_string(startup_args.monitor_height) + "]+bestaudio/best"; args.push_back("--ytdl=no"); |