From 90ce380fccd84d2be8640c8785a38904661af45e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 14 Jun 2021 03:44:25 +0200 Subject: Always choose non-av1 and non HDR stream for youtube video to support hardware decoding --- plugins/Youtube.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp index 7a6ea00..28b50bb 100644 --- a/plugins/Youtube.hpp +++ b/plugins/Youtube.hpp @@ -8,6 +8,7 @@ namespace QuickMedia { struct YoutubeFormat { std::string url; int bitrate = 0; + std::string mime_type; }; struct YoutubeVideoFormat { -- cgit v1.2.3