OSDN Git Service

Moves the readout of applied x264 options from test.c to work.c, so the MacGui can...
authorjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 16 Nov 2007 16:21:16 +0000 (16:21 +0000)
committerjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 16 Nov 2007 16:21:16 +0000 (16:21 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@1064 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/work.c
test/test.c

index fdeace0..19c498f 100644 (file)
@@ -240,6 +240,8 @@ static void do_job( hb_job_t * job, int cpu_count )
             break;
         case HB_VCODEC_X264:
             hb_log( " + encoder x264" );
+            if( job->x264opts != NULL && *job->x264opts != '\0' )
+                hb_log( "   + x264 options: %s", job->x264opts);
             w = getWork( WORK_ENCX264 );
             break;
     }
index 13637ea..5224691 100644 (file)
@@ -858,8 +858,6 @@ static int HandleEvents( hb_handle_t * h )
 
             if( x264opts != NULL && *x264opts != '\0' )
             {
-                fprintf( stderr, "Applying the following x264 options: %s\n", 
-                         x264opts);
                 job->x264opts = x264opts;
             }
             else /*avoids a bus error crash when options aren't specified*/