Message ID | 1593444063-27765-2-git-send-email-lance.lmwang@gmail.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
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 --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 } };