diff options
author | sr55 <[email protected]> | 2011-01-15 21:36:55 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-01-15 21:36:55 +0000 |
commit | 21d74558fe663c7e8515419ad634e2e7d2bb6236 (patch) | |
tree | 47d748679528beba6c260f9fc3cb0b56d080c778 /test | |
parent | effb3f376005040ebff1c167d3be2c50f9c1d7a7 (diff) |
CLI:
Add some extra carriage Returns (thanks rodeo(
http://forum.handbrake.fr/viewtopic.php?f=4&t=19590
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3749 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c index a0354fd4e..fc753d24f 100644 --- a/test/test.c +++ b/test/test.c @@ -365,6 +365,8 @@ int main( int argc, char ** argv ) if( stop_at_string ) free( stop_at_string ); if( start_at_string ) free( start_at_string ); + // write a carriage return to stdout - avoids overlap / line wrapping when stderr is redirected + fprintf( stdout, "\n" ); fprintf( stderr, "HandBrake has exited.\n" ); return 0; @@ -608,7 +610,7 @@ static int HandleEvents( hb_handle_t * h ) if (preset) { - fprintf( stderr, "+ Using preset: %s", preset_name); + fprintf( stderr, "+ Using preset: %s\n", preset_name); if (!strcmp(preset_name, "Universal")) { @@ -1511,7 +1513,7 @@ static int HandleEvents( hb_handle_t * h ) } else { - fprintf(stderr, "ERROR: Unable to parse audio input \"%s\", skipping.", + fprintf(stderr, "ERROR: Unable to parse audio input \"%s\", skipping.\n", token); free(audio); } |