[vlc-devel] Different code paths between libvlc and VideoLan player?

Pierre d'Herbemont pdherbemont at free.fr
Sat Feb 28 16:33:13 CET 2009


On Sat, Feb 28, 2009 at 4:30 PM, Pierre d'Herbemont <pdherbemont at free.fr> wrote:
> On Fri, Feb 27, 2009 at 7:06 AM, 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.
>
> This is likely a bug in libvlc, feel free to send a patch for it. It's
> true that vlc's UI doesn't use libvlc_media_player_get_time though
> they should share a common root.

Oh, and you should indicate the libvlc version you use.

Pierre.



More information about the vlc-devel mailing list