Re: [FFmpeg-devel] [PATCH v2] avcodec/nvenc: fix flushing for encoder-reuse

2021-07-16 Thread Jai Luthra
On Fri, Jul 16, 2021, at 10:06 PM, Timo Rothenpieler wrote: -- snip -- > Can you explain the logic this follows some more? I'm quite confused > what exactly changed, and how it broke this. > How do you trigger a flush, if calling flush does nothing? Since https://github.com/ffmpeg/ffmpeg/commit

Re: [FFmpeg-devel] [PATCH v2] avcodec/nvenc: fix flushing for encoder-reuse

2021-07-16 Thread Timo Rothenpieler
On 16.07.2021 18:09, Jai Luthra wrote: Recent encode API restructure (827d6fe73d) removed some state - which broke the API for flushing without closing the encoder. This functionality was originally added in 3ea7057677 and is useful for segmented video, where we don't want to do expensive re-ini