[vlc-devel] [PATCH] libvlc: libvlc_MediaInstanceStopped replaces libvlc_MediaInstanceReachedEnd

Tanguy Krotoff tkrotoff at gmail.com
Mon Mar 31 02:52:28 CEST 2008


On Mon, Mar 31, 2008 at 2:21 AM, Pierre d'Herbemont <pdherbemont at free.fr> wrote:
> ReachedEnd, and stopped are in my opinion two differents events.
>
>  You can actually stop the video. But the video can also reaches its
>  end without having the user to stop it.

I was sure you were going to say that :p

Yes there are technically 2 different events. But I really don't think
users of libvlc care about it!
For example, inside Phonon API, ReachedEnd and Stopped are the same.
cf
http://doc.trolltech.com/main-snapshot/phonon.html#State-enum
And I think it is the same for xine.h:
http://xine.cvs.sourceforge.net/xine/xine-lib/include/xine.h.in?view=markup

No need to complexify. If somebody really needs it one day (and I
doubt about this), it can still be changed.

I don't see any need for 2 different stop events.

>  This make me think that I forgot to rename the event's name...

I sent a mail about it that got lost on the list...

-- 
Tanguy Krotoff <tkrotoff at gmail.com>
+33 6 68 42 70 24



More information about the vlc-devel mailing list