[FFmpeg-devel] [PATCH] ffmpeg_opt: introduce compatibility -ab option.

Michael Niedermayer michael at niedermayer.cc
Fri Aug 28 22:42:23 CEST 2015


On Mon, Aug 17, 2015 at 06:24:57PM -0400, Ronald S. Bultje wrote:
> ---
>  ffmpeg_opt.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
> index e923a19..effeaf1 100644
> --- a/ffmpeg_opt.c
> +++ b/ffmpeg_opt.c
> @@ -3328,6 +3328,10 @@ const OptionDef options[] = {
>          "force data codec ('copy' to copy stream)", "codec" },
>      { "dn", OPT_BOOL | OPT_VIDEO | OPT_OFFSET | OPT_INPUT | OPT_OUTPUT, { .off = OFFSET(data_disable) },
>          "disable data" },
> +#if !FF_API_OLD_AVOPTIONS
> +    { "ab",         OPT_AUDIO | HAS_ARG | OPT_OUTPUT, { .func_arg = opt_old2new },
> +        "set bitrate (in bits/s)" },
> +#endif

I dont think this is needed, there seems to be already a "ab"
entry in ffmpeg_opt.c

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150828/3ab1b9f8/attachment.sig>


More information about the ffmpeg-devel mailing list