Skip to content

Commit

Permalink
vd_lavc: add AV1 to the default allowed hwdec codec list
Browse files Browse the repository at this point in the history
Now that the first hwaccel implementations are coming in, it makes
sense to allow this format.
  • Loading branch information
jeeb authored and sfan5 committed Nov 3, 2020
1 parent 73be201 commit 172146e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video/decode/vd_lavc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 172146e

Please sign in to comment.