From 04af4ca556aec7a60456206ffe38badafe3b4d73 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Fri, 17 Jul 2009 22:34:43 +0000 Subject: CLI: add iso639-2 language code to audio track information display git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2707 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- test/test.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'test/test.c') diff --git a/test/test.c b/test/test.c index b3c0b1620..134e0179b 100644 --- a/test/test.c +++ b/test/test.c @@ -410,12 +410,19 @@ static void PrintTitleInfo( hb_title_t * title ) audio = hb_list_audio_config_item( title->list_audio, i ); if( ( audio->in.codec == HB_ACODEC_AC3 ) || ( audio->in.codec == HB_ACODEC_DCA) ) { - fprintf( stderr, " + %d, %s, %dHz, %dbps\n", i + 1, - audio->lang.description, audio->in.samplerate, audio->in.bitrate ); + fprintf( stderr, " + %d, %s (iso639-2: %s), %dHz, %dbps\n", + i + 1, + audio->lang.description, + audio->lang.iso639_2, + audio->in.samplerate, + audio->in.bitrate ); } else { - fprintf( stderr, " + %d, %s\n", i + 1, audio->lang.description ); + fprintf( stderr, " + %d, %s (iso639-2: %s)\n", + i + 1, + audio->lang.iso639_2, + audio->lang.description ); } } fprintf( stderr, " + subtitle tracks:\n" ); -- cgit v1.2.3