Re: [FFmpeg-devel] [PATCH] nvenc: Fix output dts if encoding with implicitly enabled b-frames

2021-03-09 Thread Martin Storsjö
On Tue, 9 Mar 2021, Martin Storsjö wrote: Since a0949d0bcb0eee2f3fffcf9a4810c0295d14c0dc, the b-frames setting defaults to -1, which uses the preset's default setting. If b-frames are enabled, but max_b_frames is kept at <= 0, the output dts are inconsistent. --- libavcodec/nvenc.c | 5 - 1

[FFmpeg-devel] [PATCH] nvenc: Fix output dts if encoding with implicitly enabled b-frames

2021-03-09 Thread Martin Storsjö
Since a0949d0bcb0eee2f3fffcf9a4810c0295d14c0dc, the b-frames setting defaults to -1, which uses the preset's default setting. If b-frames are enabled, but max_b_frames is kept at <= 0, the output dts are inconsistent. --- libavcodec/nvenc.c | 5 - 1 file changed, 4 insertions(+), 1