No Audio In QTMovieView
No Audio In QTMovieView
- Subject: No Audio In QTMovieView
- From: Matteo <email@hidden>
- Date: Tue, 24 May 2005 11:36:20 +0200
Hi there,
I have a problem with QTMovieView, this is an extract of my code:
if ([QTMovie canInitWithFile:pathName])
{
mMovie = [QTMovie movieWithFile:pathName error:nil];
[mQT_controller setMovie:mMovie];
[mQT_controller setHidden:NO];
[mQT_controller setEditable:YES];
}
Where pathname is the filepath of a movie file (that contains
only an audio track) and QTMovieController is a QTMovieView.
The movie is successfully loaded inside the QTMovieView, however
I can't hear any sound...I tryed to pass
a movie with audio and video track, and I can see the video but
not the audio. The strange thing is that
I can see the video only if I try to resize the window.
If I set the movie file from the nib and than I change it inside
the code everythings seems to play fine but how can
I do to set the movie directly form the code?
best regards & thanks in advance,
Matteo
_______________________________________________
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