From 6172cac8dc03265e327c34d56ec6330d18d18040 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 29 Apr 2023 23:37:36 +0200 Subject: ytdl: prefer mp4 because of better video playback performance --- src/VideoPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3