QTKit: hum, is it a bug?
QTKit: hum, is it a bug?
- Subject: QTKit: hum, is it a bug?
- From: Stéphane Sudre <email@hidden>
- Date: Sun, 13 Nov 2005 23:01:54 +0100
I've been playing a bit with the QTKit today updating a project which
was using NSMovieView till now.
While the API is better, I am seeing some things I would tend to
believe are bugs.
1. If you set the frame of the QTMovieView and then the movie for this
same view, the first frames of the animation are out of bounds.
Basically the code is:
[myMovieView setFrame:someFrame];
[myMovieView setMovie:myMovie];
Well when you call play:, the movie is drawn outside the bounds of the
QTMovieView. The fact is that the movie frame is bigger than the view
frame.
The only way I've found to fix this problem is to set the
QTMovieCurrentSizeAttribute attribute before adding the movie to the
movieView and calling play:.
Am I missing something or is this a bug?
2. It looks like the QTMovieDidEndNotification is not very bullet
proof. When you change the movie of the QTMovieView in the
QTMovieDidEndNotification callback, you just crash. I didn't see any
warning against this in the "documentation" so I tend to believe this
is a bug.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden