On Fri, 13 Jan 2012, Janne Grunau wrote:

On 2012-01-13 23:51:59 +0200, Martin Storsjö wrote:
max_b_frames is initialized to -1 for libx264, to allow
distinguishing between an explicit user set 0 and a default not
touched 0 (see bb73cda2).

it's generally initialized to -1

No, it's not. The -1 on the max_b_frames line in libavcodec/options.c is the minimum for the option, not the default (which is 0). The default is only overridden for libx264 to be -1, as set in bb73cda2.

// martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to