[vlc-devel] Different code paths between libvlc and VideoLan player?
jhannwong at gmail.com
Sat Feb 28 00:59:01 CET 2009
Yes, that's somewhat how I saw it in my tests, but not exactly.
The get_time works only for a brief moment right after I call set_time. Then it goes back to
malfunctioning. The malfunction is like this. The media plays till 10 secs point, I set_time to 4
secs. The get_time function at first returns 4 secs, but quickly jumps back to 10 secs. After the
media has played past the 10 secs point, the get_time function begins to work properly.
This bug is found in the QT gui too. Double click the TimeLabel at the bottom right of the gui,
and set the time there. The bug is reproduced thus exactly.
The media position slider works through a different code path. I'm diving into the codes today to
find out exactly.
I wonder why there's been no response from this forum. I hope I don't have to fork my own libvlc
J Decker wrote:
> these actually do seem to work, after starting _play .... it's just
> that the load phase doesn't seem to set them...
> On Thu, Feb 26, 2009 at 10:06 PM, Jonathan Wong <jhannwong at gmail.com> wrote:
>> Hi all,
>> How is it that the media length and current time (position in millisec) works in VideoLan player,
>> but not in libvlc? I thought the entire VideoLan player was built on libvlc?
>> Procedures like libvlc_media_player_get_length, libvlc_media_player_get_time don't work correctly
>> (with .mpg). However, the media current time and media total length are displayed perfectly fine
>> in VideoLan player for all media types!
>> I've started looking into the QT gui codes, and tracing down to the stuff behind it.
>> But, can anyone here help me get started quickly in unraveling vlc? I could help in its
>> development. I have a 6-month project all to do with videos, and I do envision making quite a bit
>> of contribution to vlc.
>> Thanks in advance!
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel