Are you disassociating the context before using the call again?
OSStatus stat = SetMovieVisualContext(yourMovie, NULL);
--
mikey
On 18 Oct, 2006, at 16:24, Mark McClain wrote:
I've been developing an app with QTKit. When I leave it running
for sometime, I've noticed that the app slowly increases its memory
usage. I ran both MallocDebug and leaks against the process to
track down the problem. Both leaks and MallocDebug agree that leak
occurs in gldGetString and it occurs everytime that
SetMovieVisualContext is called. I was unsure wether the problem
was in my app or in the way that I'm interacting with the
framework, so I created a simple test app. To speed the test
process up, I set the playback rate to 20, but the leak occurs when
the rate is set to 1.0.
When I run the test app for 60 seconds, 18.2k is reported as a
leak. After 2 minutes, MallocDebug reports 25.3k leaks. I ran
the tests on a iMac Core Duo with Quicktime 7.1.3 installed. Am I
missing something in my code or is there a deeper problem?
@end
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40bungie.org
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden