[FFmpeg-devel] [PATCH v2] lavc/libdavs2: enable multithread

Steven Liu lingjiujianke at gmail.com
Wed Dec 26 13:20:00 EET 2018


hwrenx <hwrenx at qq.com> 于2018年12月15日周六 上午11:41写道:
>
> From: hwrenx <hwrenx at 126.com>
>
> Signed-off-by: hwrenx <hwrenx at 126.com>
> ---
>  libavcodec/libdavs2.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c
> index 37635bb..2846ecf 100644
> --- a/libavcodec/libdavs2.c
> +++ b/libavcodec/libdavs2.c
> @@ -205,7 +205,7 @@ AVCodec ff_libdavs2_decoder = {
>      .init           = davs2_init,
>      .close          = davs2_end,
>      .decode         = davs2_decode_frame,
> -    .capabilities   =  AV_CODEC_CAP_DELAY,//AV_CODEC_CAP_DR1 |
> +    .capabilities   =  AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AUTO_THREADS,
>      .pix_fmts       = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P,
>                                                       AV_PIX_FMT_NONE },
>      .wrapper_name   = "libdavs2",
> --
> 2.7.4
>
>
>

Pushed


Thanks
Steven
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list