Skip to content

Commit

Permalink
Use the correct hw decoder name for AV1 (#57) \1
Browse files Browse the repository at this point in the history
  • Loading branch information
Asd-g committed Mar 6, 2024
1 parent 30ba361 commit 927d5a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ const AVCodec *find_decoder
codec_name = "mpeg1";
else if (!strcmp(codec->name, "mpeg2video"))
codec_name = "mpeg2";
else if (!strcmp(codec->name, "libdav1d"))
else if (!strcmp(codec->name, "libdav1d")
|| !strcmp(codec->name, "libaom-av1"))
codec_name = "av1";
else
codec_name = codec->name;
Expand Down

0 comments on commit 927d5a8

Please sign in to comment.