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

Ronald S. Bultje rsbultje at gmail.com
Fri Aug 28 21:03:02 CEST 2015


Hi,

On Mon, Aug 17, 2015 at 6:24 PM, Ronald S. Bultje <rsbultje at gmail.com>
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
>
>      { NULL, },
>  };
> --
> 2.1.2


Ping.

Ronald


More information about the ffmpeg-devel mailing list