summaryrefslogtreecommitdiffstats
path: root/libhb/dvdnav.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-04-02 20:20:41 +0000
committerjstebbins <[email protected]>2011-04-02 20:20:41 +0000
commit80ebbf6f36a9084dd19e04e1cbfbd9ec93bfb6b6 (patch)
treed954ed0a4df0e1cbb0be19433595a8bc72b152f1 /libhb/dvdnav.c
parent9ef1bf3c81bab338d04f712016147a9e7aad2fbe (diff)
Make logging of audio and subtitle id's more consistant
1) whenever we log audio->id or subtitle->id using hex formatting, precede the hex with 0x (which was already done in some places but not others) 2) format audio->id as hex instead of decimal in sync.c (makes it much easier to see which track "went backwards" or had silence added to it, checking the job configuration logged by work.c) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3898 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/dvdnav.c')
-rw-r--r--libhb/dvdnav.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c
index 1d22cf50b..764ebd8c0 100644
--- a/libhb/dvdnav.c
+++ b/libhb/dvdnav.c
@@ -583,7 +583,7 @@ static hb_title_t * hb_dvdnav_title_scan( hb_dvd_t * e, int t, uint64_t min_dura
break;
}
- hb_log( "scan: id=%x, lang=%s, 3cc=%s ext=%i", audio->id,
+ 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 );
@@ -697,7 +697,7 @@ static hb_title_t * hb_dvdnav_title_scan( hb_dvd_t * e, int t, uint64_t min_dura
break;
}
- hb_log( "scan: id=%x, lang=%s, 3cc=%s", subtitle->id,
+ hb_log( "scan: id=0x%x, lang=%s, 3cc=%s", subtitle->id,
subtitle->lang, subtitle->iso639_2 );
hb_list_add( title->list_subtitle, subtitle );