Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Movie import componet - help me !



Hi,
I would like to make my movie import component.
I had try to modify the ElectricImageComponent sample code.

I added the test code for movie import in a ImportExampleTest.c,
using QTNewDataReferenceFromFSSpec() and NewMovieFromDataRef().
It works fine, and the sample movie [472X353 24bitspixcelmovie.eim] was
shown in a window.

When I was changed the file type from [.eim] to [.eee] for example,
it still works fine. But, if I change the FOUR_CHAR_CODE from ('EIDI')
to ('EIEI') of ComponentDescription in a EI_MovieImporterRegister() 
function, I get error at NewMovieFromDataRef() function.

How does MovieToolbox find the movie import component ?
I supposed that MovieToolbox will call EI_MovieImportValidate() or
EI_MovieImportGetMIMETypeList(), EI_MovieImportValidateDataRef().
Whenever I set break point those functions, but nothing happen.

How can I link my special movie with my special movie import component ?

Regards,
Roy Kato.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.