avcodec/nvenc_hevc: add ff_nvenc_encode_flush() for .flush

for the .capabilities have AV_CODEC_CAP_ENCODER_FLUSH, so it's better to add it.

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
Limin Wang 2020-08-21 19:22:32 +08:00
parent 5de8e897b1
commit 4cfe8123ea