diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2021-05-29 22:53:38 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2021-05-29 22:59:57 +0200 |
commit | 8d0fea81c736280ff19283b05cd0ad935d1e35c5 (patch) | |
tree | 40c9944e34244cb03bcaaca5f306b44de47a3515 /libavcodec | |
parent | 8f8a7e491da5a4d5f6809dd1e56056c46f0cb123 (diff) | |
download | ffmpeg-8d0fea81c736280ff19283b05cd0ad935d1e35c5.tar.gz |
avcodec/nvenc: disable s12m timestamps by default
Leads to weird crashes with valid looking input data for otherwise
unknown reasons.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/nvenc_hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c index 007099242a..2c8b2197cf 100644 --- a/libavcodec/nvenc_hevc.c +++ b/libavcodec/nvenc_hevc.c @@ -148,7 +148,7 @@ static const AVOption options[] = { { "middle", "", 0, AV_OPT_TYPE_CONST, { .i64 = 2 }, 0, 0, VE, "b_ref_mode" }, #endif { "a53cc", "Use A53 Closed Captions (if available)", OFFSET(a53_cc), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, VE }, - { "s12m_tc", "Use timecode (if available)", OFFSET(s12m_tc), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, VE }, + { "s12m_tc", "Use timecode (if available)", OFFSET(s12m_tc), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 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 }, #ifdef NVENC_HAVE_MULTIPASS |