]> git.videolan.org Git - x264.git/commit
Add slices-max feature
authorJason Garrett-Glaser <jason@x264.com>
Tue, 19 Feb 2013 21:48:44 +0000 (13:48 -0800)
committerJason Garrett-Glaser <jason@x264.com>
Tue, 23 Apr 2013 18:47:29 +0000 (11:47 -0700)
commit389d06e8f93916b4fe5766ee4503380f2632ef79
treec555fd30f6ec3fd2457c955775fd6eefc7965710
parentf546e98eb8f9afd15fb7e8f95ec02fcf65155079
Add slices-max feature

The H.264 spec technically has limits on the number of slices per frame. x264
normally ignores this, since most use-cases that require large numbers of
slices prefer it to. However, certain decoders may break with extremely large
numbers of slices, as can occur with some slice-max-size/mbs settings.

When set, x264 will refuse to create any slices beyond the maximum number,
even if slice-max-size/mbs requires otherwise.
common/common.c
common/frame.c
common/frame.h
common/osdep.h
encoder/encoder.c
x264.c
x264.h