[FFmpeg-cvslog] lavc/libxavs2: Remove yuv420p10le from fromat list.

Jun Zhao git at videolan.org
Sun Oct 28 09:19:29 EET 2018


ffmpeg | branch: master | Jun Zhao <jun.zhao at intel.com> | Sun Oct 28 15:13:45 2018 +0800| [bdfd2e3c79dd3d0a75033cad662a78fa0a04304f] | committer: Jun Zhao

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 at intel.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bdfd2e3c79dd3d0a75033cad662a78fa0a04304f
---

 libavcodec/libxavs2.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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",



More information about the ffmpeg-cvslog mailing list