Mailing Lists: Apple Mailing Lists

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

Creating a special reference movie?



Dear QuickTime developers,

I'm writing a plug-in for an application that can import QuickTime media but crashes when I pass it .wav or .mp3 randomly despite it can play it. The crash occurs in DisposeMovie but I don't know why yet. I've observed that the application tries to use GetMoviePosterPict to get a PicHandle of that movie and if not present, it renders a string with something like "XYZ cannot display FILENAME", while there's still a movie controller that could be used to play it!

I'd like to work around the problem and would like to know whether it is possible (and how) to:

- create a reference movie that would refer mp3, wav or whatever media
- *AND* will provide white/back/my own graphic when GetMoviePosterPict is called


The crash seems to occur only when there's "XYZ cannot display FILENAME".

Do I have to create a video track with 1 frame and sound track that refers to an another movie? [I'm not sure how to use SetMediaDataRef function]

Thanks for your comments,

  Tomas Zahradnicky
--
# Ing. Tomas Zahradnicky, Jr.
# The Czech Technical University
# Dept of Computer Science, FEE-CTU Prague
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/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.