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>
This commit is contained in:
Andreas Rheinhardt 2022-04-12 20:51:05 +02:00
parent cc0a4fa630
commit 77ed56f0ec
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ const FFCodec ff_vbn_encoder = {
.p.long_name = NULL_IF_CONFIG_SMALL("Vizrt Binary Image"), .p.long_name = NULL_IF_CONFIG_SMALL("Vizrt Binary Image"),
.p.type = AVMEDIA_TYPE_VIDEO, .p.type = AVMEDIA_TYPE_VIDEO,
.p.id = AV_CODEC_ID_VBN, .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, .p.priv_class = &vbnenc_class,
.init = vbn_init, .init = vbn_init,
FF_CODEC_ENCODE_CB(vbn_encode), FF_CODEC_ENCODE_CB(vbn_encode),