Video Problems With QTMovieView
Video Problems With QTMovieView
- Subject: Video Problems With QTMovieView
- From: Travis Feuling <email@hidden>
- Date: Thu, 23 Jun 2005 11:21:59 -0500
- Priority: normal
Hi,
I am having some problems with QTMovieView. I am trying to set the movie of a QTMovieView to a QTMovie
object. The problem is that sometimes the movie will display fine (there is both audio and video), but other
times the video will be black and the audio will play. The weird thing is is that when I change the window size
the video will then appear. Is there any way to fix this problem.
This is an extract of my code:
if(movie != nil)
[movie release];
movie = [[QTMovie alloc] initWithURL:[channel url] error:nil];
[movieView setMovie:movie];
[movieView setNeedsDisplay:YES];
where movieView is a QTMovieView object, and movie is a QTMovie object.
And as a quick question to go along with this... How do i make is so if you click on the QTMovieView view that
is will not pause and play the movie. I tried subclassing and overloading mouseDown and mouseUp, but those
are not called if there is a movie set in it.
Thanx
~
Travis
_______________________________________________
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