VLCKit setPosition and setTime Not Updating Position or Time

This forum is about all development around libVLC.
sgaw
New Cone
New Cone
Posts: 1
Joined: 10 Jul 2014 17:38
Operating System: Mac OS
Location: Somerset, England

VLCKit setPosition and setTime Not Updating Position or Time

Postby sgaw » 10 Jul 2014 17:46

Hi. I think I must be doing something really stupid but when I call VLCMediaPlayer's setTime or setPosition methods the VLCVideoView updates to show the correct frame but the time and position methods return the original values. I do get a buffering state change and the time/position update properly when I resume playback.

My issue is that I'd like to be able to pause the video, step through it frame-by-frame, jump around, using a slider, etc. and then retrieve the current time or position and I can't.

Since the VLC application updates the time when you click in the timeline scrubber I'm hoping it's something I'm doing wrong or a properly I've not set.

Any help would be massively appreciated.

Simon

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLCKit setPosition and setTime Not Updating Position or

Postby Jean-Baptiste Kempf » 10 Dec 2014 16:06

unfortunately, it's a limitation of VLC.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 24 guests