Skip to content

Commit 206b05f

Browse files
committed
lavc: Add AV_PIX_FMT_VULKAN to supported pix fmts
1 parent 15ab076 commit 206b05f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libavcodec/to_lavc_vid_conv.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,6 +1669,9 @@ int get_available_pix_fmts(codec_t in_codec, struct to_lavc_req_prop req_prop,
16691669
#ifdef HWACC_VAAPI
16701670
fmts[nb_fmts++] = AV_PIX_FMT_VAAPI;
16711671
#endif
1672+
#ifdef HWACC_VULKAN
1673+
fmts[nb_fmts++] = AV_PIX_FMT_VULKAN;
1674+
#endif
16721675

16731676
return nb_fmts;
16741677
}

0 commit comments

Comments
 (0)