nvenc: implement flush to help allow an encoder to be re-used

Multimedia / FFmpeg - Philip Langdale [overt.org] - 9 January 2020 03:20 EST

It can be useful to re-use an encoder instance when doing segmented encodings, and this requires flushing the encoder at the start of each segment.

3ea7057677 nvenc: implement flush to help allow an encoder to be re-used
libavcodec/nvenc.c | 5 +++++
libavcodec/nvenc.h | 2 ++
libavcodec/nvenc_h264.c | 1 +
libavcodec/nvenc_hevc.c | 1 +
libavcodec/version.h | 2 +-
5 files changed, 10 insertions(+), 1 deletion(-)

  • Share