hi everybody,
i have a problem i've been struggling with forever now. first i thought that it was my own stupidity, but... i'm lost.
i have an nsmovieview in a small app. that movieview might occasionally get replaced by another view, i do this via nsview's replacesubview:with: which has always worked nicely for me.
it also works for movies which are not playing. but if i try to stop the movie before replacing the movieview, it just crashes (singal 10 (sigbus)). i tried stopping it via nsmovieview's stop: method and i also tried subclassing nsmovieview and to override its dealloc in which i then call StopMovie([[super movie] QTMovie]);
the movieview as well as the movie always has a retaincount of one, so i don't try calling this on some nil object.
i even always check whether the movie is currently playing.
did anybody ever experience anything similar or could point me in the right direction?
any help would be very much appreciated.