0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

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.
This commit is contained in:
Jan Ekström 2020-11-03 01:01:22 +02:00 committed by sfan5
parent 73be20143e
commit 172146e9f7

View File

@ -135,7 +135,7 @@ const struct m_sub_options vd_lavc_conf = {
.framedrop = AVDISCARD_NONREF, .framedrop = AVDISCARD_NONREF,
.dr = 1, .dr = 1,
.hwdec_api = "no", .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 // Maximum number of surfaces the player wants to buffer. This number
// might require adjustment depending on whatever the player does; // might require adjustment depending on whatever the player does;
// for example, if vo_gpu increases the number of reference surfaces for // for example, if vo_gpu increases the number of reference surfaces for