[FFmpeg-devel] [PATCH 2/2] aacdec: padding skip improvements
Anton Khirnov
anton at khirnov.net
Thu Oct 19 18:48:23 EEST 2023
Quoting Lynne (2023-10-19 14:48:06)
> Oct 19, 2023, 10:40 by anton at khirnov.net:
>
> > Quoting Lynne (2023-10-19 04:38:51)
> >
> >> @@ -3471,6 +3478,9 @@ static const AVOption options[] = {
> >> { "coded", "order in which the channels are coded in the bitstream",
> >> 0, AV_OPT_TYPE_CONST, { .i64 = CHANNEL_ORDER_CODED }, .flags = AACDEC_FLAGS, "channel_order" },
> >>
> >> + { "padding", "Override the padding at the start of a stream.\n",
> >> + offsetof(AACContext, override_padding), AV_OPT_TYPE_INT, { .i64 = 1024 }, 1024, 8192, AACDEC_FLAGS },
> >>
> >
> > Why should this be a decoder option when the caller can already control
> > it by inserting AV_PKT_DATA_SKIP_SAMPLES?
> >
>
> CLI, sadly, mainly.
So add a CLI option to override this side data along the lines of
display_rotation.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list