diff options
author | nyanmisaka <nst799610810@gmail.com> | 2021-02-03 01:09:52 +0800 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2021-03-25 04:30:50 +0100 |
commit | 0c5098d1a254cacec87ce2ce8c9a3173ec35dc09 (patch) | |
tree | c5b106057049de9fd7bf93a12540209481b4eebf | |
parent | f53e54b3a5924e9089ca909d738aa936f5954345 (diff) | |
download | ffmpeg-0c5098d1a254cacec87ce2ce8c9a3173ec35dc09.tar.gz |
avfilter/hwupload_cuda: add YUVA420P format support
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
-rw-r--r-- | libavfilter/vf_hwupload_cuda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_hwupload_cuda.c b/libavfilter/vf_hwupload_cuda.c index 33906f2515..afc1b265ed 100644 --- a/libavfilter/vf_hwupload_cuda.c +++ b/libavfilter/vf_hwupload_cuda.c @@ -57,7 +57,7 @@ static int cudaupload_query_formats(AVFilterContext *ctx) int ret; static const enum AVPixelFormat input_pix_fmts[] = { - AV_PIX_FMT_NV12, AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV444P, + AV_PIX_FMT_NV12, AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUVA420P, AV_PIX_FMT_YUV444P, AV_PIX_FMT_P010, AV_PIX_FMT_P016, AV_PIX_FMT_YUV444P16, AV_PIX_FMT_0RGB32, AV_PIX_FMT_0BGR32, #if CONFIG_VULKAN |