diff options
author | jstebbins <[email protected]> | 2009-07-17 22:34:43 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-07-17 22:34:43 +0000 |
commit | 04af4ca556aec7a60456206ffe38badafe3b4d73 (patch) | |
tree | f3234aa3938c7848c663d89c90ec937e1a309bbb /test/test.c | |
parent | ae2424a127a71e74727dd75b7ab0375821d94121 (diff) |
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
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 13 |
1 files changed, 10 insertions, 3 deletions
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" ); |