From: clee Date: Sun, 15 Apr 2007 08:47:10 +0000 (+0000) Subject: hb_log is for libhb; use fprintf like the rest of the file. X-Git-Tag: 0.8.5-beta.1~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7ce73fc55c72362d9bbfd0f3670ebe849a366dd;p=handbrake hb_log is for libhb; use fprintf like the rest of the file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@509 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/test/test.c b/test/test.c index 73d55c2b0..903b330b6 100644 --- a/test/test.c +++ b/test/test.c @@ -436,17 +436,18 @@ static int HandleEvents( hb_handle_t * h ) } job->file = strdup( output ); - if( crf ) - { - job->crf = 1; - } + if( crf ) + { + job->crf = 1; + } - if (x264opts != NULL && *x264opts != '\0' ) - { - hb_log("Applying the following x264 options: %s", x264opts); - job->x264opts = x264opts; - } - else /*avoids a bus error crash when options aren't specified*/ + 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*/ { job->x264opts = NULL; }