From 2b8b4638bac768908891d040bd90f77a39c4f634 Mon Sep 17 00:00:00 2001 From: jbrjake Date: Fri, 16 Nov 2007 16:21:16 +0000 Subject: [PATCH] Moves the readout of applied x264 options from test.c to work.c, so the MacGui can see it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1064 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/work.c | 2 ++ test/test.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libhb/work.c b/libhb/work.c index fdeace02..19c498f0 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -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; } diff --git a/test/test.c b/test/test.c index 13637ea8..5224691b 100644 --- a/test/test.c +++ b/test/test.c @@ -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*/ -- 2.11.4.GIT