[vlc-devel] [PATCH] Adding a libvlc_MediaPlayerLengthChanged event
Hugo Beauzee-Luyssen
beauze.h at gmail.com
Sun May 10 17:57:20 CEST 2009
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.
>
> 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/
>
>
I'd say for the 1.1, since it's not a bugfix...
Here is the new patch, which shouldn't arm the ABI
--
Hugo Beauzée-Luyssen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Adding-a-libvlc_MediaPlayerLengthChanged-event.patch
Type: text/x-patch
Size: 3862 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090510/485c4be4/attachment.bin>
More information about the vlc-devel
mailing list