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: New Quartz Composer technotes



Title: Re: New Quartz Composer technotes

3 new Quartz Composer technotes have just been posted:
http://developer.apple.com/technicalnotes/GraphicsImaging/idxQuartz-
date.html

in TN2145:

is this endian safe?

((**description).cType == 'qtz ')



Boolean HasQuartzComposerTracks(Movie movie)
{
    Boolean          result = false;
    long          index = 1;
    Media          media;
    SampleDescriptionHandle  description;

    description = (ImageDescriptionHandle) NewHandle(sizeof(ImageDescription));
    if(description) {
        while(track = GetMovieIndTrackType(movie, index, VideoMediaType,
                movieTrackMediaType | movieTrackEnabledOnly)) {
            if((media = GetTrackMedia(track)) {
                GetMediaSampleDescription(media, 1, (SampleDescriptionHandle) description);
                if(!GetMoviesError() && ((**description).cType == 'qtz ')) {
                    result = true;
                    break;
                }
            }
            ++index;
        }
        DisposeHandle((Handle) description);
    }

    return result;
}


richard
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/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.