rbp
30th October 2008, 05:53
hello,
I am trying to load a video with VideoPlayer and start playing from a
certain point. Here is the relevant code:
video = new Phonon::VideoPlayer(Phonon::VideoCategory);
video->play(Phonon::MediaSource(filename));
video->seek(frame);
However the seek here is ignored and the video will always plays from the start.
If I try seeking at other times it does work, so does that mean I can only seek in an already loaded video? If so, how do I detect when the video is loaded? - VideoPlayer does not send any useful signals
Richard
I am trying to load a video with VideoPlayer and start playing from a
certain point. Here is the relevant code:
video = new Phonon::VideoPlayer(Phonon::VideoCategory);
video->play(Phonon::MediaSource(filename));
video->seek(frame);
However the seek here is ignored and the video will always plays from the start.
If I try seeking at other times it does work, so does that mean I can only seek in an already loaded video? If so, how do I detect when the video is loaded? - VideoPlayer does not send any useful signals
Richard