]> granicus.if.org Git - handbrake/commitdiff
CLI: Switch back to stderr.
authorsr55 <sr55.hb@outlook.com>
Sat, 2 Mar 2013 18:50:10 +0000 (18:50 +0000)
committersr55 <sr55.hb@outlook.com>
Sat, 2 Mar 2013 18:50:10 +0000 (18:50 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5282 b64f7644-9d1e-0410-96f1-a4d463321fa5

test/test.c

index b20d504262646ae1ef0e9c7f2a28e801b68bc015..b4aa531b4d251a1ec5606408bcf3e9a0e1736ec2 100644 (file)
@@ -587,15 +587,15 @@ static int HandleEvents( hb_handle_t * h )
             /* Show what title is currently being scanned */
             if (p.preview_cur)
             {
-                fprintf(stdout, "\rScanning title %d of %d, preview %d, %.2f %%",
+                fprintf(stderr, "\rScanning title %d of %d, preview %d, %.2f %%",
                         p.title_cur, p.title_count, p.preview_cur, 100 * p.progress);
             }
             else
             {
-                fprintf(stdout, "\rScanning title %d of %d, %.2f %%",
+                fprintf(stderr, "\rScanning title %d of %d, %.2f %%",
                         p.title_cur, p.title_count, 100 * p.progress);
             }
-            fflush(stdout);
+            fflush(stderr);
             break;
 #undef p