[vlc-devel] [PATCH] Adding a libvlc_MediaPlayerLengthChanged event

Hugo Beauzee-Luyssen beauze.h at gmail.com
Sun May 10 15:50:03 CEST 2009


Hi,

With some demuxers, the length isn't computed right away, and there's
no event to know when the length actually changed. Therefore, this is
a patch that implement a libvlc_MediaPlayerLengthChanged event.
It's not fired with the others "INPUT_EVENT_TIMES" events, since
firering an event from here would result in firering an event with
each libvlc_MediaPlayerPositionChanged event... instead, it's
triggered on its own.

Regards,

-- 
Hugo Beauzée-Luyssen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adding-a-libvlc_MediaPlayerLengthChanged-event.patch
Type: text/x-patch
Size: 4034 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090510/d6af7987/attachment.bin>


More information about the vlc-devel mailing list