ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@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 <c...@passwd.hu>
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@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),

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to