summaryrefslogtreecommitdiffstats
path: root/libhb/dvd.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/dvd.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/dvd.c')
-rw-r--r--libhb/dvd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/dvd.c b/libhb/dvd.c
index f1411d7ce..2d18dee71 100644
--- a/libhb/dvd.c
+++ b/libhb/dvd.c
@@ -435,7 +435,7 @@ static hb_title_t * hb_dvdread_title_scan( hb_dvd_t * e, int t, uint64_t min_dur
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 );
@@ -549,7 +549,7 @@ static hb_title_t * hb_dvdread_title_scan( hb_dvd_t * e, int t, uint64_t min_dur
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 );