Page 1 of 1

c# MoveToPosition()

Posted: 29 Jan 2008 10:20
by base64
can someone explain what the difference between time and position is and how i might use them?

Re: c# MoveToPosition()

Posted: 29 Jan 2008 18:37
by Jean-Baptiste Kempf
Position is supposed to be a float between 0 and 1 and time is time elapsed, IIRC

Re: c# MoveToPosition()

Posted: 31 Jan 2008 01:14
by base64
I understand the type it is, but I do not understand why I must pass a value between 0 and 1 in order to seek to a specific time in seconds.

Why can't I just pass X number of seconds and seek there? or how can i calculate this float number to achieve the same effect?

I would think this is something essential to a video player but I have never gotten an answer. :?

Re: c# MoveToPosition()

Posted: 31 Jan 2008 02:04
by Jean-Baptiste Kempf
Duh....

you have a setTime in VLC... This seems obvious...

Re: c# MoveToPosition()

Posted: 14 Mar 2008 01:44
by base64
this is the c# interface and it does not properly work.

the set method for the time property is actually unavailable, and if i modify the c# wrapper to enable this, it works to seek the video but the internal position is not updated