diff mbox series

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

Message ID 1593444063-27765-2-git-send-email-lance.lmwang@gmail.com
State New
Headers show
Series None | expand

Commit Message

Lance Wang June 29, 2020, 3:21 p.m. UTC
From: Limin Wang <lance.lmwang@gmail.com>

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
---
 libavcodec/nvenc_hevc.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Lance Wang June 29, 2020, 3:38 p.m. UTC | #1
On Mon, Jun 29, 2020 at 05:26:24PM +0200, Moritz Barsnick wrote:
> On Mon, Jun 29, 2020 at 23:21:03 +0800, lance.lmwang@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.

yeah, I'm confusing what's happen, have used "git format-patch" recreate 
the patch and send again.

> 
> Moritz
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff mbox series

Patch

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 }
 };