[FFmpeg-cvslog] avcodec/vbnenc: Add AV_CODEC_CAP_DR1

Andreas Rheinhardt git at videolan.org
Wed Apr 13 01:42:11 EEST 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Apr 12 20:51:05 2022 +0200| [77ed56f0ec08732d13f2cc0238c05f553c079e21] | committer: Andreas Rheinhardt

avcodec/vbnenc: Add AV_CODEC_CAP_DR1

This encoder uses ff_get_encode_buffer().

Reviewed-by: Marton Balint <cus at passwd.hu>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=77ed56f0ec08732d13f2cc0238c05f553c079e21
---

 libavcodec/vbnenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vbnenc.c b/libavcodec/vbnenc.c
index ec04566a32..de35a44d3f 100644
--- a/libavcodec/vbnenc.c
+++ b/libavcodec/vbnenc.c
@@ -153,7 +153,7 @@ const FFCodec ff_vbn_encoder = {
     .p.long_name    = NULL_IF_CONFIG_SMALL("Vizrt Binary Image"),
     .p.type         = AVMEDIA_TYPE_VIDEO,
     .p.id           = AV_CODEC_ID_VBN,
-    .p.capabilities = AV_CODEC_CAP_SLICE_THREADS,
+    .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SLICE_THREADS,
     .p.priv_class   = &vbnenc_class,
     .init           = vbn_init,
     FF_CODEC_ENCODE_CB(vbn_encode),



More information about the ffmpeg-cvslog mailing list