|
Q: My QuickTime Movie Import Component supporting a custom file format works with iMovie HD but is being ignored by iMovie '08. What needs to be done to have iMovie '08 recognize it?A: iMovie '08 requires that all components supporting your media (Importers(' For a discussion and some tips on how to make your QuickTime component thread-safe, see Technical Note TN2125, 'Thread-safe programming in QuickTime'. Once you've successfully made your component thread-safe make sure to set the Additionally, if you've implemented an Export Component (' These requirements are new with iMovie '08. Listing 1: Component thread-safe and export from procedures flags. cmpThreadSafe = 1L << 28 // Component is thread-safe canMovieExportFromProcedures = 1 << 15 // Exporter implements MovieExportFromProceduresToDataRef Listing 2: Adding the cmpThreadSafe flag. // extended 'thng' template #define thng_RezTemplateVersion 1 #include <Carbon/Carbon.r> #include <QuickTime/QuickTime.r> resource 'thng' (256) { kSomeQTComponentType, 'DEMO', 'DEMO', 0, 0, 0, 0, 'STR ', 128, 'STR ', 129, 0, 0, kMyComponentVersion, // Registration Flags componentHasMultiplePlatforms | kOtherComponentRegistrationFlags, 0, { // Add Thread Safe Flag kMyComponentFlags | cmpThreadSafe, //*** ThreadSafe Flag Here 'dlle', 512, platformPowerPCNativeEntryPoint }; }; Document Revision History
Posted: 2007-10-03 |
|