[FFmpeg-devel] [PATCH 2/2] avcodec/nvenc_hevc: add a53cc option for nvenc hevc

Moritz Barsnick barsnick at gmx.net
Mon Jun 29 18:26:24 EEST 2020


On Mon, Jun 29, 2020 at 23:21:03 +0800, lance.lmwang at gmail.com wrote:
> diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c
> index 45dda3d..6153f9a 100644
> --- a/libavcodec/nvenc_hevc.c
> +++ b/libavcodec/nvenc_hevc.c
> @@ -132,6 +132,8 @@ static const AVOption options[] = {
>      { "tc",           "Use timecode (if available)",        OFFSET(tc),           AV_OPT_TYPE_BOOL,  { .i64 = 1 }, 0, 1,       VE },
>      { "dpb_size",     "Specifies the DPB size used for encoding (0 means automatic)",
>                                                              OFFSET(dpb_size),     AV_OPT_TYPE_INT,   { .i64 = 0 }, 0, INT_MAX, VE },
>           OFFSET(dpb_size),     AV_OPT_TYPE_INT,   { .i64 = 0 }, 0, INT_MAX, VE },
>      { "a53cc",        "Use A53 Closed Captions (if available)",
>                                                              OFFSET(a53_cc),       AV_OPT_TYPE_BOOL,  { .i64 = 1 }, 0, 1,       VE },
>      { NULL }
>  };

Are you sure this is a valid patch? It doesn't mark any changes.

Moritz


More information about the ffmpeg-devel mailing list