summaryrefslogtreecommitdiffstats
path: root/libhb/encx264.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r--libhb/encx264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c
index 0e3edd040..e2d90cd31 100644
--- a/libhb/encx264.c
+++ b/libhb/encx264.c
@@ -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;