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

Tanguy Krotoff tkrotoff at gmail.com
Mon Mar 31 01:35:18 CEST 2008


For this patch, I don't use
input_Control( p_input_thread, INPUT_SET_STATE, END_S );
but rather
libvlc_event_send( p_mi->p_event_manager, &event );
since
input_StopThread( p_input_thread );
vlc_object_release( p_input_thread );
is being called inside
libvlc_media_stop()

I tested it without using libvlc_media_list() since you told me that
it is buggy.
With libvlc_media_play() is works fine. I tried with a video and a .mp3

I carefully replace all strings "libvlc_MediaInstanceReachedEnd" to
"libvlc_MediaInstanceStopped" inside VLC.

Also I'm not an expert with git, each time I do a git commit -a with a
complete description of the patch but it does not seem that
git-send-mail take care of this :/

Also, each time I modify libvlc I do a make && make install which is
pretty slow with all the plugins. Is there a better make command to
make it faster? (i.e like a make libvlc-control install or
something...)

Thx

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



More information about the vlc-devel mailing list