diff options
author | titer <[email protected]> | 2006-04-17 19:34:42 +0000 |
---|---|---|
committer | titer <[email protected]> | 2006-04-17 19:34:42 +0000 |
commit | c1dbdecc75629ddebad41f236445a89b6cc9cd9a (patch) | |
tree | d23d8dca8d32a5ae8089c72e6dde3297f641e844 /libhb/dvd.c | |
parent | b30c3a727aa539f10adeae2220b4aa48e0b18feb (diff) |
Implemented audio and subtitle selection
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@62 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/dvd.c')
-rw-r--r-- | libhb/dvd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/dvd.c b/libhb/dvd.c index 54b5e5e92..f0cc521bc 100644 --- a/libhb/dvd.c +++ b/libhb/dvd.c @@ -247,6 +247,8 @@ hb_title_t * hb_dvd_title_scan( hb_dvd_t * d, int t ) lang_for_code( vts->vtsi_mat->vts_audio_attr[i].lang_code ), audio->codec == HB_ACODEC_AC3 ? "AC3" : ( audio->codec == HB_ACODEC_MPGA ? "MPEG" : "LPCM" ) ); + snprintf( audio->lang_simple, sizeof( audio->lang_simple ), "%s", + lang_for_code( vts->vtsi_mat->vts_audio_attr[i].lang_code ) ); hb_log( "scan: id=%x, lang=%s", audio->id, audio->lang ); |