aboutsummaryrefslogtreecommitdiff
path: root/src/VideoPlayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VideoPlayer.cpp')
-rw-r--r--src/VideoPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp
index 5cf10b3..9036155 100644
--- a/src/VideoPlayer.cpp
+++ b/src/VideoPlayer.cpp
@@ -227,7 +227,7 @@ namespace QuickMedia {
if(startup_args.no_video)
ytdl_format = "(bestaudio/best)";
else
- ytdl_format = "(bestvideo[ext=mp4][height<=?" + std::to_string(startup_args.monitor_height) + "]+bestaudio/best)";
+ ytdl_format = "(bestvideo[vcodec!*=av01][height<=?" + std::to_string(startup_args.monitor_height) + "]+bestaudio/best)";
ytdl_format += "[protocol^=http]/" + ytdl_format + "[protocol^=m3u8]";
ytdl_format = "--ytdl-format=" + ytdl_format;