Try QTUtils.toOsType(ctype).
--Alex
--- Sugam Jain <email@hidden> wrote:
> ---------- Forwarded message ----------
> From: Sugam Jain <email@hidden>
> Date: Nov 4, 2005 2:38 PM
> Subject: Re: Determining if a track is a PDF
> To: Steve Israelson <email@hidden>
> Cc: email@hidden,
> email@hidden
>
>
> Yea, thats exactly what I found. unfortunately, I'm
> now trying to
> figure out how to map ctype to something useful. I
> cant find
> documentation on what maps to 'pdf '.
>
> sugam
> On 11/4/05, Steve Israelson
> <email@hidden> wrote:
> > If you are using the QT API, then look at the call
> > "GetSampleDescription".
> > Then just look at the returned sample description.
> > You will have to do this for ALL sample
> descriptions in each video
> > track.
> >
> > On 4-Nov-05, at 1:57 PM, Sugam Jain wrote:
> >
> > > I'm trying to tell the difference in my code if
> a Media is a pdf or
> > > something else. Both PDFs and Video tracks
> happen to be handled by
> > > the "VideoMediaHandler" I cant think of a way
> to determine the
> > > difference. I think this can be done because in
> QTPlayer, a pdf
> > > will show "PDF" as the "format' in the
> properties window. Does
> > > anyone have any hints?
> > >
> >
> _______________________________________________
> Do not post admin requests to the list. They will be
> ignored.
> QuickTime-java mailing list
> (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
http://lists.apple.com/mailman/options/quicktime-java/email@hidden
>
> This email sent to email@hidden
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden
This email sent to email@hidden