[vlc-devel] [PATCH] Adding a libvlc_MediaPlayerLengthChanged event
fenrir at via.ecp.fr
Sun May 10 22:25:08 CEST 2009
On Sun, May 10, 2009, Hugo Beauzee-Luyssen wrote:
> 2009/5/10 Rémi Denis-Courmont <remi at remlab.net>:
> > Hello,
> > Le dimanche 10 mai 2009 16:50:03 Hugo Beauzee-Luyssen, vous avez écrit :
> >> 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.
I do think that the event INPUT_EVENT_LENGTH is not needed, INPUT_EVENT_TIMES
is enought for that.
More information about the vlc-devel