summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorsaintdev <[email protected]>2007-03-26 20:25:18 +0000
committersaintdev <[email protected]>2007-03-26 20:25:18 +0000
commite9a5be8343b44b27da04450f2c8ece93279097b1 (patch)
tree7f2c7a3ab4282bffde90af35edc629b9fdad01aa /test
parent5b4288a0466445f060e9897ead19a970724dc8c1 (diff)
Make audio/subtitle ids less confusing to users.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@455 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r--test/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test.c b/test/test.c
index 22b44118e..2e1518a08 100644
--- a/test/test.c
+++ b/test/test.c
@@ -231,19 +231,19 @@ static void PrintTitleInfo( hb_title_t * title )
audio = hb_list_item( title->list_audio, i );
if( audio->codec & HB_ACODEC_AC3 )
{
- fprintf( stderr, " + %x, %s, %dHz, %dbps\n", audio->id,
+ fprintf( stderr, " + %d, %s, %dHz, %dbps\n", i + 1,
audio->lang, audio->rate, audio->bitrate );
}
else
{
- fprintf( stderr, " + %x, %s\n", audio->id, audio->lang );
+ fprintf( stderr, " + %d, %s\n", i, audio->lang );
}
}
fprintf( stderr, " + subtitle tracks:\n" );
for( i = 0; i < hb_list_count( title->list_subtitle ); i++ )
{
subtitle = hb_list_item( title->list_subtitle, i );
- fprintf( stderr, " + %x, %s\n", subtitle->id, subtitle->lang );
+ fprintf( stderr, " + %d, %s\n", i + 1, subtitle->lang );
}
}