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: MovieDrawingComplete and Windows



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.movieDrawingCallWhenChange
>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.



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.