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

Rémi Denis-Courmont remi at remlab.net
Sun May 10 16:17:44 CEST 2009


	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.

Which development branches are you targetting? At least for 0.9 and 1.0, you 
need to preserve the ABI. It particularly implies you must extend enumerations 
_at_the_end_ even if it looks ugly.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list