From 91db117734301a24e47ea784a677ec1b3df44465 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 27 Apr 2025 14:47:57 +0200 Subject: Fix unable to play youtube videos (require dependency on yt-dlp for now) --- src/QuickMedia.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/QuickMedia.cpp') diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 0671349..b09e09f 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -1095,6 +1095,8 @@ namespace QuickMedia { if(!youtube_dl_name) return false; + const int video_max_height = video_get_max_height(); + std::string ytdl_format; if(no_video) ytdl_format = "(bestaudio/best)"; -- cgit v1.2.3-70-g09d2