From 7800f22f054d4a96731c94bc71310c09a2b8235f Mon Sep 17 00:00:00 2001 From: maurj Date: Wed, 2 May 2007 15:56:39 +0000 Subject: Added support for DTS audio. DTS audio streams (of 5.1 audio and below) will be detected and decoded. This requires a new library - libdca (and patch) - which is included (in patched form) in a new version of the pre-built UB Darwin contribs (0012). These have been uploaded to download.m0k.org/handbrake/contrib/ . I haven't yet added any code to Controller.mm to recognise the DTS streams as supporting mono / 6ch DPL1 / DPL2 downmixes. Note: running Jam on the new library required me to update some tools on Mac OS X - possibly libtool, autoconf, automake. Not sure which made the difference, but these were the ones I updated. it won't jam successfully without this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@559 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test.c') diff --git a/test/test.c b/test/test.c index 967cd9c11..3ed30e4af 100644 --- a/test/test.c +++ b/test/test.c @@ -231,7 +231,7 @@ static void PrintTitleInfo( hb_title_t * title ) for( i = 0; i < hb_list_count( title->list_audio ); i++ ) { audio = hb_list_item( title->list_audio, i ); - if( audio->codec & HB_ACODEC_AC3 ) + if( ( audio->codec & HB_ACODEC_AC3 ) || ( audio->codec & HB_ACODEC_DCA) ) { fprintf( stderr, " + %d, %s, %dHz, %dbps\n", i + 1, audio->lang, audio->rate, audio->bitrate ); -- cgit v1.2.3