On Sun, Jan 29, 2012 at 10:50:47AM +0100, Anton Khirnov wrote:
>
> --- a/libavcodec/options.c
> +++ b/libavcodec/options.c
> @@ -77,6 +77,7 @@ static const AVClass *codec_child_class_next(const AVClass
> *prev)
> static const AVOption options[]={
> {"b", "set bitrate (in bits/s)", OFFSET(bit_rate), AV_OPT_TYPE_INT, {.dbl =
> AV_CODEC_DEFAULT_BITRATE }, INT_MIN, INT_MAX, V|A|E},
> {"bt", "set video bitrate tolerance (in bits/s)",
> OFFSET(bit_rate_tolerance), AV_OPT_TYPE_INT, {.dbl =
> AV_CODEC_DEFAULT_BITRATE*20 }, 1, INT_MAX, V|E},
> +{"sub_id", NULL, OFFSET(sub_id), AV_OPT_TYPE_INT, {.dbl = DEFAULT },
> INT_MIN, INT_MAX},
spaces inside { }
> @@ -110,20 +111,38 @@ static const AVOption options[]={
>
> +{"zero", "zero motion estimation (fastest)", 0, AV_OPT_TYPE_CONST,
> {ME_ZERO}, 0, 0, V|E, "me_method" },
> +{"full", "full motion estimation (slowest)", 0, AV_OPT_TYPE_CONST,
> {ME_FULL}, 0, 0, V|E, "me_method" },
ditto
spaces around |
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel