OSDN Git Service

Ooops, I wanted height not width there.
authorjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 19 Oct 2008 23:41:54 +0000 (23:41 +0000)
committerjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 19 Oct 2008 23:41:54 +0000 (23:41 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@1852 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/encx264.c

index 0e3edd0..e2d90cd 100644 (file)
@@ -209,7 +209,7 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job )
         param.vui.i_transfer = 1;
         param.vui.i_colmatrix = 1;
     }
-    else if ( job->title->width >= 1280 || job->title->width >= 720 )
+    else if ( job->title->width >= 1280 || job->title->height >= 720 )
     {
         // we guess that 720p or above is ITU BT.709 HD content
         param.vui.i_colorprim = 1;