Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: MovieDrawingComplete and Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MovieDrawingComplete and Windows



Hmm, I was calling myMovie.task(0); at the end of my movie start/initialization routine (and like I said, it worked fine on OSX only). I decided to add a Movie.taskAll(0); to my display routine, and now it works on Windows as well!

Thanks for the prompt,
Jack


On Monday, December 2, 2002, at 10:17 AM, Brian Wilkins wrote:

Make sure you are calling startTasking on any Taskable object (ie.
QTPlayer).

Brian Wilkins
email@hidden

Is there anything special that needs to be considered when setting a
MovieDrawingComplete procedure on Windows systems?

myMovie draws into an offscreen QDGraphics:

rectNewMovie = new QDRect(0, 0, gUsedTextureWidth,
gUsedTextureHeight);
myGraphics = new QDGraphics(QDGraphics.kDefaultPixelFormat,
rectNewMovie);
myMovie.setGWorld(myGraphics,null);


The MovieDrawingComplete procedure is set on myMovie:

myMovie.setDrawingCompleteProc(StdQTConstants.movieDrawingCallWhenChan ge
d, this);


And of course, I have an execute() method and my class implements
MovieDrawingComplete.

This all works fine on OSX (ie. execute() is called on a per frame
basis and the video displays smoothly), but on Windows systems, the
execute method is only called once. I've also tried
movieDrawingCallAlways, but no change. On Windows, my movie displays
one frame, but that's it....

Any ideas?

Thanks,
Jack
_______________________________________________
quicktime-java mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-java
Do not post admin requests to the list. They will be ignored.

References: 
 >RE: MovieDrawingComplete and Windows (From: "Brian Wilkins" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.