Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Clippings/AddSpriteSampleToMedia.txt
// add the key frame sample to the sprite track media |
// |
// to add the sample data in a compressed form, you would use a QuickTime DataCodec to perform the |
// compression; replace the call to the utility AddSpriteSampleToMedia with a call to the utility |
// AddCompressedSpriteSampleToMedia to do this |
AddSpriteSampleToMedia(myMedia, mySample, kSpriteMediaFrameDuration, true, NULL); |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-02-25