Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
-
Darwin Hemants-MacBook-Pro.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
-
-
bede0a838ddafadafc400f20c00a687e753ea638
Description
I am using following code to seek to a particular position:
console.log("Video is " + video.seekable); var seekPosition = (parseFloat(values.position)*60*1000).toFixed(); var duration = (parseFloat(values.duration)*60*1000).toFixed(); console.log("Seeking to position :" + seekPosition + " duration :" + duration); video.seek(seekPosition); cartoonTimer.interval = duration; cartoonTimer.triggered.connect(function(){ video.stop(); cartoonTimer.stop(); }); cartoonTimer.start(); video.play();
And although video is seekable, the video always starts playing from the beginning. The same code seems to be working just fine on Linux using gstreamer backend. I am using mp4 videos fwiw.
Attachments
For Gerrit Dashboard: QTBUG-48057 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
125148,2 | AVFoundation: store seek requests before media is loaded. | 5.5 | qt/qtmultimedia | Status: MERGED | +2 | 0 |