diff options
Diffstat (limited to 'video/fmt-conversion.c')
-rw-r--r-- | video/fmt-conversion.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c index 44fafa631f..a8ae905813 100644 --- a/video/fmt-conversion.c +++ b/video/fmt-conversion.c @@ -172,13 +172,11 @@ static const struct { {IMGFMT_BGR0, AV_PIX_FMT_BGRA}, #endif - {IMGFMT_VDPAU, AV_PIX_FMT_VDPAU}, -#if HAVE_VDA_AV_VDA_ALLOC_CONTEXT - {IMGFMT_VDA, AV_PIX_FMT_VDA}, -#else - {IMGFMT_VDA, AV_PIX_FMT_VDA_VLD}, + {IMGFMT_VDPAU, AV_PIX_FMT_VDPAU}, +#if HAVE_VDA_HWACCEL + {IMGFMT_VDA, AV_PIX_FMT_VDA}, #endif - {IMGFMT_VAAPI, AV_PIX_FMT_VAAPI_VLD}, + {IMGFMT_VAAPI, AV_PIX_FMT_VAAPI_VLD}, {0, AV_PIX_FMT_NONE} }; |