diff options
author | Rodeo <[email protected]> | 2014-01-25 23:28:31 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2014-01-25 23:28:31 +0000 |
commit | 08d8e59afb83ce9430194364c547d640a8678256 (patch) | |
tree | b46d21324388e679a116ad316863850033ed98fb /libhb/dvd.c | |
parent | d7ad9c9682d83dc8f59bd6ff86d3ec422c1f6adb (diff) |
libhb: set audio description in LookForAudio (scan.c).
All audio tracks go through it since SVN revision 5424.
This is where we have the most information about each audio track.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5996 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/dvd.c')
-rw-r--r-- | libhb/dvd.c | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/libhb/dvd.c b/libhb/dvd.c index 240582a52..68c277cc3 100644 --- a/libhb/dvd.c +++ b/libhb/dvd.c @@ -424,28 +424,10 @@ static hb_title_t * hb_dvdread_title_scan( hb_dvd_t * e, int t, uint64_t min_dur strlen( lang->native_name ) ? lang->native_name : lang->eng_name ); snprintf( audio->config.lang.iso639_2, sizeof( audio->config.lang.iso639_2 ), "%s", lang->iso639_2 ); - snprintf( audio->config.lang.description, - sizeof( audio->config.lang.description ), "%s (%s)", - audio->config.lang.simple, codec_name ); - switch( lang_extension ) - { - case 2: - strcat( audio->config.lang.description, " (Visually Impaired)" ); - break; - case 3: - strcat( audio->config.lang.description, " (Director's Commentary 1)" ); - break; - case 4: - strcat( audio->config.lang.description, " (Director's Commentary 2)" ); - break; - default: - break; - } - - hb_log( "scan: id=0x%x, lang=%s, 3cc=%s ext=%i", audio->id, - audio->config.lang.description, audio->config.lang.iso639_2, - lang_extension ); + hb_log("scan: id=0x%x, lang=%s (%s), 3cc=%s ext=%i", audio->id, + audio->config.lang.simple, codec_name, + audio->config.lang.iso639_2, lang_extension); audio->config.in.track = i; hb_list_add( title->list_audio, audio ); |