aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornyanmisaka <nst799610810@gmail.com>2021-02-03 01:09:52 +0800
committerTimo Rothenpieler <timo@rothenpieler.org>2021-03-25 04:36:39 +0100
commit3d79b9357d1128c863b2e35ac00f75ace02cf909 (patch)
treea75effc9eec00fa2e10b684de1dcf29ce2fefe9e
parent0be265e9a100adc778c1c3cf52155a6326043b85 (diff)
downloadffmpeg-3d79b9357d1128c863b2e35ac00f75ace02cf909.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.c2
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