aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJun Zhao <jun.zhao@intel.com>2018-10-28 15:13:45 +0800
committerJun Zhao <jun.zhao@intel.com>2018-10-28 15:16:04 +0800
commitbdfd2e3c79dd3d0a75033cad662a78fa0a04304f (patch)
treea30cb12d2a4c6348d5113c86153b0666e253be17
parent6885fa74999652ec4cc2aa4832f638bec5294359 (diff)
downloadffmpeg-bdfd2e3c79dd3d0a75033cad662a78fa0a04304f.tar.gz
lavc/libxavs2: Remove yuv420p10le from fromat list.
now libxavs2 can't support 10bits mode, so remove the yuv420p10le from fromat list. Signed-off-by: Jun Zhao <jun.zhao@intel.com>
-rw-r--r--libavcodec/libxavs2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c
index 822af3fddc..1df4148b6f 100644
--- a/libavcodec/libxavs2.c
+++ b/libavcodec/libxavs2.c
@@ -286,7 +286,8 @@ AVCodec ff_libxavs2_encoder = {
.encode2 = xavs2_encode_frame,
.close = xavs2_close,
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AUTO_THREADS,
- .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV420P10, AV_PIX_FMT_NONE },
+ .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P,
+ AV_PIX_FMT_NONE },
.priv_class = &libxavs2,
.defaults = xavs2_defaults,
.wrapper_name = "libxavs2",