diff options
author | jstebbins <[email protected]> | 2011-10-17 16:24:24 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-10-17 16:24:24 +0000 |
commit | 1c0ae631e0898549b16b029e55e4526040872d5d (patch) | |
tree | 78ed68c3259db2f6af5b78ba43d26a3e2b477051 /libhb/common.h | |
parent | 49fad04f4365f0c3c01583dabd8d261ec76505f3 (diff) |
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
Diffstat (limited to 'libhb/common.h')
-rw-r--r-- | libhb/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h index 65e022880..39a2c45cd 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -646,6 +646,7 @@ struct hb_title_s double aspect; // aspect ratio for the title's video double container_aspect; // aspect ratio from container (0 if none) + int has_resolution_change; int width; int height; int pixel_aspect_width; |