summaryrefslogtreecommitdiff
path: root/libswscale/x86
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-01-13 23:41:16 +0200
committerMartin Storsjö <martin@martin.st>2012-01-14 02:08:42 +0200
commit57facb73ab940b1117c22ef9b70a6e5ec237112d (patch)
treebeb0d0d4c60f2ca15bb4ec1c2967e9ca34492709 /libswscale/x86
parent4c82c6d9932bfdb1a9eb288d566ded9d40ca5e24 (diff)
libx264: Don't leave max_b_frames as -1 if the user didn't set it
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). If max_b_frames is left as -1, this affects dts generation (where expressions like max_b_frames != 0 are used), so make sure it is left at the default 0 after the libx264 init function returns. This avoids unnecessarily producing dts != pts when using profile=baseline. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libswscale/x86')
0 files changed, 0 insertions, 0 deletions