aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorFei Wang <fei.w.wang@intel.com>2020-04-22 13:23:02 +0800
committerLynne <dev@lynne.ee>2020-06-12 17:56:15 +0100
commitc721b450141d6bbe1e977212a0bcb70118965c34 (patch)
tree7b830e41fcbea1cd67686485a8c3faf5b78b8236 /libswscale/utils.c
parentb09fb030c15fea2a1cbddf0074c498a415f3fed2 (diff)
downloadffmpeg-c721b450141d6bbe1e977212a0bcb70118965c34.tar.gz
swscale: Add swscale input/output support for X2RGB10LE
Signed-off-by: Fei Wang <fei.w.wang@intel.com>
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 111062e915..c64dc1b3ed 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -271,6 +271,7 @@ static const FormatEntry format_entries[] = {
[AV_PIX_FMT_NV24] = { 1, 1 },
[AV_PIX_FMT_NV42] = { 1, 1 },
[AV_PIX_FMT_Y210LE] = { 1, 0 },
+ [AV_PIX_FMT_X2RGB10LE] = { 1, 1 },
};
int sws_isSupportedInput(enum AVPixelFormat pix_fmt)