OSDN Git Service

Minor tweaks the job config display for the COLR atom: only show when not using a...
authorjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 1 Nov 2008 15:32:37 +0000 (15:32 +0000)
committerjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 1 Nov 2008 15:32:37 +0000 (15:32 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@1889 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/work.c

index 00edd05..2538f41 100644 (file)
@@ -153,6 +153,9 @@ hb_display_job_info( hb_job_t * job )
 
             if( job->mp4_optimize )
                 hb_log( "     + optimized for progressive web downloads");
+            
+            if( job->color_matrix )
+                hb_log( "     + custom color matrix: %s", job->color_matrix == 1 ? "ITU Bt.601 (SD)" : "ITU Bt.709 (HD)");
             break;
 
         case HB_MUX_AVI:
@@ -214,15 +217,6 @@ hb_display_job_info( hb_job_t * job )
                 title->width, title->height, job->width, job->height,
                 job->crop[0], job->crop[1], job->crop[2], job->crop[3] );
     }
-    
-    if( job->color_matrix )
-    {
-        hb_log( "   + color space: %s", job->color_matrix == 1 ? "ITU Bt.601 (SD)" : "ITU Bt.709 (HD)");
-    }
-    else
-    {
-        hb_log( "   + color space: %s", ( title->width < 1280 || title->height < 720 ) ? "ITU Bt.601 (SD)" : "ITU Bt.709 (HD)");        
-    }
 
     if ( job->grayscale )
         hb_log( "   + grayscale mode" );