diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-04-12 20:51:05 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-04-13 00:37:06 +0200 |
commit | 77ed56f0ec08732d13f2cc0238c05f553c079e21 (patch) | |
tree | 2396f7c0ee34a67d3e90f0cb5b1de439626ec69a | |
parent | cc0a4fa6304ce0f608a058dc80e3e1f5d7bcfe6a (diff) | |
download | ffmpeg-77ed56f0ec08732d13f2cc0238c05f553c079e21.tar.gz |
avcodec/vbnenc: Add AV_CODEC_CAP_DR1
This encoder uses ff_get_encode_buffer().
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/vbnenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), |