Skip to content

Commit 94d925a

Browse files
committed
vdec/lavc: return PRIO_NA if decoder not present
If the decoder is not present, do not return that we can decode because we cannot (we have just a pixfmt conversion here). This was omitted in refactor in the commit 7dd9a44 (2025-10-23) removing the metadata structure.
1 parent fee0394 commit 94d925a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/video_decompress/libavcodec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,7 @@ static int libavcodec_decompress_get_priority(codec_t compression, struct pixfmt
11981198
"Codec %s supported by lavd but "
11991199
"not compiled in FFmpeg build.\n",
12001200
get_codec_name(compression));
1201+
return VDEC_PRIO_NA;
12011202
}
12021203

12031204
if (ugc == VC_NONE) { // probe

0 commit comments

Comments
 (0)