Mailing Lists: Apple Mailing Lists

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

any ideas



after some digging i find that if i try and export settings from the vide atom even after i create a dialog to set what i want the default settings to be it errors out with atom no leaf -2102




result = MovieExportDoUserDialog( movieExporter, m_pMovie, 0, 0, GetMovieDuration( m_pMovie ), &cancel );
assert( result == noErr );


result = MovieExportGetSettingsAsAtomContainer( movieExporter, &exportSettings );
assert( result == noErr );


videAtom = QTFindChildByID( exportSettings, kParentAtomIsContainer, kQTSettingsVideo, 1, NULL );
assert( videAtom != NULL );


error = QTGetAtomDataPtr( exportSettings, videAtom, &actualSize, &newHandle ); // error -2102 occurs
assert( error == noErr );


   // write out to file

_______________________________________________
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.