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



Actually, I just noticed that there is a "bug" in that function: it should scan for Quartz Composer tracks, not video tracks with samples using the Quartz Composer codec.

Here's the much simplified version:

Boolean HasEnabledQuartzComposerTracks(Movie movie)
{
    Track          track;

    track = GetMovieIndTrackType(movie, 1, 'qtz ',
            movieTrackMediaType | movieTrackEnabledOnly);

    return (track != NULL ? true : false);
}


On Jun 27, 2005, at 9:42 AM, Pierre-Olivier Latour wrote:

in TN2145:

is this endian safe?

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


yes, sample descriptions are native-endian in memory, or more precisely, the C fields of sample descriptions are native-endian and sample description extensions are big-endian.


________________________________________________________
Pierre-Olivier Latour                            email@hidden
Quartz Composer Architect                Graphics & Imaging Team

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer- email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/pol% 40apple.com


This email sent to email@hidden



________________________________________________________
Pierre-Olivier Latour                            email@hidden
Quartz Composer Architect                Graphics & Imaging Team

_______________________________________________
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
References: 
 >Re: New Quartz Composer technotes (From: Richard Bleasdale <email@hidden>)
 >Re: New Quartz Composer technotes (From: Pierre-Olivier Latour <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.