PDA

View Full Version : Phonon Video Player + XML



igor.schkrab
24th November 2009, 23:49
Hello There...
Im working in an application where i have a videoplayer and a structure into a XML file.
All i need to do is: read the xml file and pause where its marked to pause every time...
Well.. in xml file i have the time in miliseconds where i need to stop.. ok...
my video is playing ok and im reading from xml file..
my problem begins when i try to pause the video in marked time at xml file...
I've made a way to verify the player->currentTime and check it with marked time at xml... when it matchs then i make player->pause();
it shows the right time in miliseconds to pause but its a litte late from right time i need to pause...
someone have any idea about whats happening?
the player shows the time i want him to stop... but its not the right time...