]> granicus.if.org Git - handbrake/commitdiff
hb_log is for libhb; use fprintf like the rest of the file.
authorclee <clee@kde.org>
Sun, 15 Apr 2007 08:47:10 +0000 (08:47 +0000)
committerclee <clee@kde.org>
Sun, 15 Apr 2007 08:47:10 +0000 (08:47 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@509 b64f7644-9d1e-0410-96f1-a4d463321fa5

test/test.c

index 73d55c2b0facc63133fd03fb5902f125b352232e..903b330b6a1b8e1ed46aad09b8e61980300f59c0 100644 (file)
@@ -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;
                        }