Mailing Lists: Apple Mailing Lists

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

Re: Movie flattening



> When I flatten a movie using:
>
> Movie aMovie = ::FlattenMovieData(mMovie,
>
> flattenAddMovieToDataFork | flattenForceMovieResourceBeforeMovieData,
> &mMovieOutputFileSpec,
> FOUR_CHAR_CODE('TVOD'), smSystemScript, 0);
>
> If the file that the flattened movie is being saved into already
> exists, then I can click on the file in Finder before this function has
> finished. The result is the file is then nearly always corrupt and
> can't be used. If I don't select the file then everything is fine.

Have you tried playing with the last parameter? The sample code
application QTShell makes a call just like this when performing a Save
As operation and does not (AFAICT) have the Finder issues you report.
The only difference is that it passes createMovieFileDeleteCurFile |
createMovieFileDontcreateResFile as the last parameter. Worth a try
anyway.


Tim Monroe
QuickTime Engineering
email@hidden
_______________________________________________
quicktime-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-api
Do not post admin requests to the list. They will be ignored.




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.