You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/audiotoolboxenc: Remove AV_CODEC_CAP_DR1
It has been added in 2016 when this flag made no sense for encoders at all; now that it makes sense, audiotoolboxenc doesn't support it, despite claiming to do so. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -627,7 +627,7 @@ static const AVOption options[] = {
|
|||||||
.encode2 = ffat_encode, \
|
.encode2 = ffat_encode, \
|
||||||
.flush = ffat_encode_flush, \
|
.flush = ffat_encode_flush, \
|
||||||
.priv_class = &ffat_##NAME##_enc_class, \
|
.priv_class = &ffat_##NAME##_enc_class, \
|
||||||
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | \
|
.capabilities = AV_CODEC_CAP_DELAY | \
|
||||||
AV_CODEC_CAP_ENCODER_FLUSH __VA_ARGS__, \
|
AV_CODEC_CAP_ENCODER_FLUSH __VA_ARGS__, \
|
||||||
.sample_fmts = (const enum AVSampleFormat[]) { \
|
.sample_fmts = (const enum AVSampleFormat[]) { \
|
||||||
AV_SAMPLE_FMT_S16, \
|
AV_SAMPLE_FMT_S16, \
|
||||||
|
Reference in New Issue
Block a user