summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
diff options
context:
space:
mode:
authorvan <[email protected]>2008-03-01 20:19:20 +0000
committervan <[email protected]>2008-03-01 20:19:20 +0000
commit42facae34c60ad9b84b8c88d91f0daabf8a5d335 (patch)
tree4b5e3acec0e9640d8f0cb3cbff3c1268fe5a6196 /libhb/scan.c
parentba78192db9012c547bf78d3ef855fe473a7fb46f (diff)
Oops - left in a mistake from an intermediate version. We want aspect ratio from all previews but crop from only frame two (otherwise we'll crop down to nothing if there's a preview with a lot of black).
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1323 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/scan.c')
-rw-r--r--libhb/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/scan.c b/libhb/scan.c
index fd93ca482..e3972a653 100644
--- a/libhb/scan.c
+++ b/libhb/scan.c
@@ -434,7 +434,7 @@ static int DecodePreviews( hb_scan_t * data, hb_title_t * title )
}
// start from third frame to skip opening logos
- if( i >= 2)
+ if( i == 2)
{
title->crop[0] = title->crop[1] = title->height / 2;
title->crop[2] = title->crop[3] = title->width / 2;