X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=test%2Ftest.c;h=06aa02881b514d8b041e1d5800120a72d6c51768;hb=29f46e91b9e657b1aa5705fee8ffda9463a19544;hp=3273c5716fe08a49a023862c246689b813d0804b;hpb=c593146bf3fab6290c71cbbb974e0a756e43f5e0;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/test/test.c b/test/test.c index 3273c571..06aa0288 100644 --- a/test/test.c +++ b/test/test.c @@ -1888,8 +1888,9 @@ void SigHandler( int i_signal ) static void ShowHelp() { int i; + FILE* const out = stdout; - fprintf( stderr, + fprintf( out, "Syntax: HandBrakeCLI [options] -i -o \n" "\n" "### General Handbrake Options------------------------------------------------\n\n" @@ -1949,11 +1950,11 @@ static void ShowHelp() " -r, --rate Set video framerate (" ); for( i = 0; i < hb_video_rates_count; i++ ) { - fprintf( stderr, hb_video_rates[i].string ); + fprintf( out, hb_video_rates[i].string ); if( i != hb_video_rates_count - 1 ) - fprintf( stderr, "/" ); + fprintf( out, "/" ); } - fprintf( stderr, ")\n" + fprintf( out, ")\n" " Be aware that not specifying a framerate lets\n" " HandBrake preserve a source's time stamps,\n" " potentially creating variable framerate video\n" @@ -1965,8 +1966,8 @@ static void ShowHelp() " input.\n" " (\"none\" for no audio, \"1,2,3\" for multiple\n" " tracks, default: first one)\n" - " -E, --aencoder Audio encoder(s) (faac/lame/vorbis/ac3) \n" - " ac3 meaning passthrough\n" + " -E, --aencoder Audio encoder(s) (faac/lame/vorbis/ac3/dts) \n" + " ac3 and dts meaning passthrough\n" " Separated by commas for more than one audio track.\n" " (default: guessed)\n" " -B, --ab Set audio bitrate(s) (default: 160)\n" @@ -1977,11 +1978,11 @@ static void ShowHelp() " -R, --arate Set audio samplerate(s) (" ); for( i = 0; i < hb_audio_rates_count; i++ ) { - fprintf( stderr, hb_audio_rates[i].string ); + fprintf( out, hb_audio_rates[i].string ); if( i != hb_audio_rates_count - 1 ) - fprintf( stderr, "/" ); + fprintf( out, "/" ); } - fprintf( stderr, " kHz)\n" + fprintf( out, " kHz)\n" " Separated by commas for more than one audio track.\n" " -D, --drc Apply extra dynamic range compression to the audio,\n" " making soft sounds louder. Range is 1.0 to 4.0\n"