]> granicus.if.org Git - handbrake/commit
fix a problem with resolution changes in h.264
authorjstebbins <jstebbins.hb@gmail.com>
Mon, 17 Oct 2011 16:24:24 +0000 (16:24 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Mon, 17 Oct 2011 16:24:24 +0000 (16:24 +0000)
commit1c0ae631e0898549b16b029e55e4526040872d5d
tree78ed68c3259db2f6af5b78ba43d26a3e2b477051
parent49fad04f4365f0c3c01583dabd8d261ec76505f3
fix a problem with resolution changes in h.264

First, the scaling code in decavcodec.c was broken and didn't properly
compensate for frames that had a different resolution than the rest of
the stream.

Second, libav can not handle resolution changes when doing frame based
multi-threading.  So disable threading when resolution changes are
detected.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4295 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/common.h
libhb/decavcodec.c
libhb/scan.c