summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorclee <[email protected]>2007-04-15 08:47:10 +0000
committerclee <[email protected]>2007-04-15 08:47:10 +0000
commita7ce73fc55c72362d9bbfd0f3670ebe849a366dd (patch)
tree51c1e7de12e6ef0de284e385c1608fa7631c6e65 /test
parent8e7efbc975ecc078689a2dc3c0241a88abb9385e (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/test.c21
1 files changed, 11 insertions, 10 deletions
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;
}