Qt4-preview-feedback Archive, March 2008
Phonon : missing functionality
Message 1 in thread
I'm working on Mac OS X with the Qt 4.4 beta 1. I've refactored my code so
that movies are now not played with QuickTime and Carbon/Cocoa but with
Phonon. Playing movies is working, but one thing is very annoying:
When I load a movie, the movie immediately starts playing. So I first have
to load the movie and the next step is stopping the movie. This is very
annoying. Can the API be extended so that the programmer has the choice to
immediately start or not start playing the movie when it is loaded. This can
be done by introducing a new method "startPlayingWhenLoaded" or by adding an
extra parameter with the load function ( load(source, boolean) ).
This problem is probably because of QuickTime. I know in there is a property
in QuickTime where you can say that a movie immediately has to start playing
or not. But I don't want to change this property.
Can there be looked at this problem and maybe solved before Qt 4.4 comes
out?
Regards,
Dimitri
Message 2 in thread
>
> ----- Original Message -----
> From: Dimitri Frederickx
> Newsgroups: trolltech.qt4-preview-feedback
> Sent: Thursday, March 06, 2008 6:24 PM
> Subject: Phonon : missing functionality
>
...
> When I load a movie, the movie immediately starts playing. So I
> first have to load the movie and the next step is stopping the
> movie. This is very annoying. Can the API be extended so that the
> programmer has the choice to immediately start or not start playing
> the movie when it is loaded.
It should not start playing in this case, so it must be a bug. I'll
look into it for the next relase.
-Richard
Message 3 in thread
On Tuesday 11 March 2008, Richard wrote:
> > ----- Original Message -----
> > From: Dimitri Frederickx
> > When I load a movie, the movie immediately starts playing. So I
> > first have to load the movie and the next step is stopping the
> > movie. This is very annoying. Can the API be extended so that the
> > programmer has the choice to immediately start or not start playing
> > the movie when it is loaded.
>
> It should not start playing in this case, so it must be a bug. I'll
> look into it for the next relase.
I think it's done this for mp3:s too. I at least have had to always do a
manual stop() after creating the Phonon objects and setting a MediaObject.
--
[ signature omitted ]