diff options
author | jbrjake <[email protected]> | 2007-11-16 16:21:16 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2007-11-16 16:21:16 +0000 |
commit | 9f0ec015e60bdfefb0956cd45a762c04d2d8bcb0 (patch) | |
tree | 408a774e00eebe0e4fd36d9b183f267b67796664 | |
parent | 374a7b7ef9ab2cce69497ad418a9ebe61975f1c0 (diff) |
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
-rw-r--r-- | libhb/work.c | 2 | ||||
-rw-r--r-- | test/test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libhb/work.c b/libhb/work.c index fdeace025..19c498f0f 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 13637ea8f..5224691b4 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*/ |