carlonluca / pot

Raspberry Pi accelerated video/image rendering with Qt: custom QML components and QtMultimedia backend.
https://bugfreeblog.duckdns.org
GNU General Public License v2.0
177 stars 42 forks source link

Changing Video shows video jump - V5.0.0 #30

Closed Nightmare204 closed 9 years ago

Nightmare204 commented 9 years ago

I have the following code to change the playing video:

function changeVideo(path)
{
    archivo = path
    askedStop = true;
    videoPlayer.stop()
    videoPlayer.source = archivo
    videoPlayer.play()
}

When the video change a jump back in the video can be seen. I guess the index of the frame being shown is changed to the first one again, but it is done before cleaning. That for the video jumps back before playing the next source.

carlonluca commented 9 years ago

Beta 2 should fix this.