Changeset 374
- Timestamp:
- 03/21/07 20:43:14 (2 years ago)
- Files:
-
- trunk/FFusionCodec.c (modified) (3 diffs)
- trunk/Perian.xcodeproj/project.pbxproj (modified) (5 diffs)
- trunk/SSADocument.m (modified) (3 diffs)
- trunk/SubImport.mm (modified) (3 diffs)
- trunk/ff_private.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/FFusionCodec.c
r373 r374 166 166 GetComponentInfo((Component)self, &descout, 0, 0, 0); 167 167 168 FourCCprintf("Opening component for type ", descout.componentSubType);168 // FourCCprintf("Opening component for type ", descout.componentSubType); 169 169 170 170 // Allocate memory for our globals, set them up and inform the component manager that we've done so … … 204 204 if (bitfield >= 0x1010) 205 205 { 206 Codecprintf(glob->fileLog, "Use speedy y420 component\n");206 // Codecprintf(glob->fileLog, "Use speedy y420 component\n"); 207 207 glob->hasy420 = 1; 208 208 } … … 210 210 else 211 211 { 212 Codecprintf(glob->fileLog, "Use slow y420 component\n");212 // Codecprintf(glob->fileLog, "Use slow y420 component\n"); 213 213 } 214 214 trunk/Perian.xcodeproj/project.pbxproj
r366 r374 365 365 containerPortal = 089C1669FE841209C02AAC07 /* Project object */; 366 366 proxyType = 1; 367 remoteGlobalIDString = 116C42510B5041BD00FB0738 /* PerianUpdateChecker */;367 remoteGlobalIDString = 116C42510B5041BD00FB0738; 368 368 remoteInfo = PerianUpdateChecker; 369 369 }; … … 632 632 F560DF0203D622D001ABA332 /* FFusionCodec.r */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.rez; path = FFusionCodec.r; sourceTree = "<group>"; }; 633 633 F57755F40B51EB1800C7D833 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; }; 634 F5CFD1B40B50009000616865 /* PerianPanePListGenerator */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = PerianPanePListGenerator; sourceTree = BUILT_PRODUCTS_DIR; };634 F5CFD1B40B50009000616865 /* PerianPanePListGenerator */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = PerianPanePListGenerator; sourceTree = BUILT_PRODUCTS_DIR; }; 635 635 F5CFD1BC0B5000CE00616865 /* GBPerianPanePListGenerator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GBPerianPanePListGenerator.h; sourceTree = "<group>"; }; 636 636 F5CFD1BD0B5000CE00616865 /* GBPerianPanePListGenerator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GBPerianPanePListGenerator.m; sourceTree = "<group>"; }; … … 1113 1113 F5CFD2D60B5012A100616865 /* A52Codec.component */, 1114 1114 F5CFD2D80B5012A100616865 /* AC3MovieImport.component */, 1115 F5CFD2DA0B5012A100616865 /* A52Preferences.app */,1115 F5CFD2DA0B5012A100616865 /* Preferences.app */, 1116 1116 ); 1117 1117 name = Products; … … 1355 1355 sourceTree = BUILT_PRODUCTS_DIR; 1356 1356 }; 1357 F5CFD2DA0B5012A100616865 /* A52Preferences.app */ = {1357 F5CFD2DA0B5012A100616865 /* Preferences.app */ = { 1358 1358 isa = PBXReferenceProxy; 1359 1359 fileType = wrapper.application; 1360 path = A52Preferences.app;1360 path = Preferences.app; 1361 1361 remoteRef = F5CFD2D90B5012A100616865 /* PBXContainerItemProxy */; 1362 1362 sourceTree = BUILT_PRODUCTS_DIR; … … 2268 2268 DEBUG_INFORMATION_FORMAT = dwarf; 2269 2269 GCC_MODEL_TUNING = G5; 2270 GCC_PREPROCESSOR_DEFINITIONS = DEBUG_BUILD; 2270 2271 STRIP_INSTALLED_PRODUCT = NO; 2271 2272 }; trunk/SSADocument.m
r361 r374 22 22 #import "Categories.h" 23 23 #include "SubImport.h" 24 #include "Codecprintf.h" 24 25 25 26 @implementation SSADocument … … 397 398 398 399 if (![nextLine isEqualToString:@"[Script Info]"]) { 399 NSLog(@"\"%@\" is not a valid SSA header?",nextLine);400 Codecprintf(stderr,"The line \"%s\" isn't a valid SSA header\n",[nextLine UTF8String]); 400 401 return; 401 402 } … … 548 549 549 550 err=AddMediaSample(theMedia,sampleHndl,0,sampleLen, p->end_time - p->begin_time,(SampleDescriptionHandle)textDesc, 1, 0, &sampleTime); 550 if (err != noErr) {err = GetMoviesError(); NSLog(@"external SSA: error %d adding %d-%d line",err, p->begin_time, p->end_time); goto loopend;}551 if (err != noErr) {err = GetMoviesError(); Codecprintf(stderr,"external SSA: error %d adding %d-%d line\n",err, p->begin_time, p->end_time); goto loopend;} 551 552 552 553 ConvertTimeScale(&movieStartTime, movieTimeScale); trunk/SubImport.mm
r370 r374 317 317 { 318 318 err = LoadSubRipSubtitles(&parentDir, cfFoundFilename, theMovie, &firstSubTrack); 319 if (err) NSLog(@"Perian: loading .srt, error %d",err);320 319 goto bail; 321 320 } … … 326 325 { 327 326 err = LoadSubStationAlphaSubtitles(&parentDir, cfFoundFilename, theMovie, &firstSubTrack); 328 if (err) NSLog(@"Perian: loading .ass, error %d",err);329 327 goto bail; 330 328 } … … 334 332 { 335 333 err = LoadSubStationAlphaSubtitles(&parentDir, cfFoundFilename, theMovie, &firstSubTrack); 336 if (err) NSLog(@"Perian: loading .ssa, error %d",err);337 334 goto bail; 338 335 } trunk/ff_private.c
r350 r374 156 156 // need to lookup the fourcc from the codec_id 157 157 (*imgHdl)->cType = map_video_codec_to_mov_tag(codec->codec_id); 158 FourCCprintf("fourcc: ", (*imgHdl)->cType);158 // FourCCprintf("fourcc: ", (*imgHdl)->cType); 159 159 160 160 (*imgHdl)->temporalQuality = codecMaxQuality;
