Set_time and Get_Time Error
Posted: 27 Dec 2012 09:06
Hello. Sorry for my bad english.
I'm developing a mediaplayer and trying to seek anywhere on video.
but i have a problem.
example code:
Set time (Video was paused before this command)
Get Time (video currently at pause mode)
when i tried with other video this value changing (-10 miliseconds or 7 miliseconds ot etc...)
I never getting true get_time
Why happening those set and get differences.
At same videos VLC player working good.
Inadvance thanks for relations.
I'm developing a mediaplayer and trying to seek anywhere on video.
but i have a problem.
example code:
Set time (Video was paused before this command)
Code: Select all
libvlc_media_player_set_time(myHandle,110000) '''''' SEEK TO 110th second
Code: Select all
libvlc_media_player_get_time(myHandle) '''' RETURNS 109810 . So -190 Miliseconds difference
I never getting true get_time
Why happening those set and get differences.
At same videos VLC player working good.
Inadvance thanks for relations.