]> git.sesse.net Git - x264/commit
Add slices-max feature
authorFiona Glaser <fiona@x264.com>
Tue, 19 Feb 2013 21:48:44 +0000 (13:48 -0800)
committerFiona Glaser <fiona@x264.com>
Tue, 23 Apr 2013 18:47:29 +0000 (11:47 -0700)
commit732e4f7e8b9ab6d214cbcf059445b4712709faa4
tree05b720125e198dd6cf0a05bfcf61988249b4f5d5
parentfdfffa3058cb590765dbb34afa5706755dcb5319
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