Changeset 1349

Show
Ignore:
Timestamp:
06/04/11 19:26:54 (12 months ago)
Author:
gbooker
Message:

Detect Perian's compressed (mkv header stripped) AC3 as well.

Location:
trunk/SapphireFrappliance
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/SapphireFrappliance/Players/SapphireVideoPlayerController.m

    r939 r1349  
    190190                UInt32 type = [currentPlayFile audioFormatIDValue]; 
    191191                 
    192                 if((type == 'ac-3' || type == 0x6D732000) && setupAudioOutput((int)sampleRate)) 
     192                if((type == 'ac-3' || type == 0x6D732000 || type == 'CAC3') && setupAudioOutput((int)sampleRate)) 
    193193                        useAC3Passthrough = YES; 
    194194                else if((type == 'DTS ') && setupAudioOutput((int)sampleRate)) 
  • trunk/SapphireFrappliance/Sapphire.xcodeproj/project.pbxproj

    r1323 r1349  
    18131813                                SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk"; 
    18141814                                SYMROOT = ../build; 
     1815                                VALID_ARCHS = "i386 x86_64 ppc7400"; 
    18151816                        }; 
    18161817                        name = Debug; 
     
    18321833                                SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk"; 
    18331834                                SYMROOT = ../build; 
     1835                                VALID_ARCHS = "i386 x86_64 ppc7400"; 
    18341836                                WARNING_CFLAGS = "-Wall"; 
    18351837                        };