[vlc-devel] libvlc_MediaInstanceReachedEnd called twice
jboileau at gmail.com
Wed Feb 27 17:38:14 CET 2008
I have done more tests. If I interpret the last member of the libvlc_event_t
struct as an vlc_int64_t, the value of that member is very large (always
7654035783464058496 maybe a pointer to something) the first time the
callback is called and always 1 the second time the callback is called. This
might be a way to differentiate the two. But which one should be ignored to
be compatible with later versions that might fix this problem?
On Tue, Feb 26, 2008 at 9:05 AM, jboileau <jboileau at gmail.com> wrote:
> I have given a spin to the latest build of libvlc. I still have my media
> reached end callback called twice when a file ends. Both times the state is
> libvlc_Ended, so it is not possible to discern the two using the state. In
> the libvlc_event_t struct there is a union : event_type_specific. Which
> member of this union pertains to the libvlc_MediaInstanceReachedEnd event?
> Maybe there is something there that can help discern the two calls.
> Jacques Boileau
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel