From 172146e9f7a231b5de21921d883612d18b13a717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= Date: Tue, 3 Nov 2020 01:01:22 +0200 Subject: vd_lavc: add AV1 to the default allowed hwdec codec list Now that the first hwaccel implementations are coming in, it makes sense to allow this format. --- video/decode/vd_lavc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index e0732397a8..f965e00e5a 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -135,7 +135,7 @@ const struct m_sub_options vd_lavc_conf = { .framedrop = AVDISCARD_NONREF, .dr = 1, .hwdec_api = "no", - .hwdec_codecs = "h264,vc1,hevc,vp9", + .hwdec_codecs = "h264,vc1,hevc,vp9,av1", // Maximum number of surfaces the player wants to buffer. This number // might require adjustment depending on whatever the player does; // for example, if vo_gpu increases the number of reference surfaces for -- cgit v1.2.3