[vlc-devel] Problem using libvlc

Pierre d'Herbemont pdherbemont at free.fr
Sat May 23 00:24:13 CEST 2009


On Fri, May 22, 2009 at 2:38 PM, Laurent Aimar <fenrir at via.ecp.fr> wrote:
> Hi,
>
> On Thu, May 21, 2009, Pierre d'Herbemont wrote:
>> On Thu, May 21, 2009 at 2:14 PM, Andrea Visinoni
>> <andrea at puntualmenteinritardo.com> wrote:
>> > Rémi Denis-Courmont ha scritto:
>> >>
>> >> Le mardi 19 mai 2009 20:13:54 Andrea Visinoni, vous avez écrit :
>> >>>
>> >>> Hi there,
>> >>> i've got some problem using libvlc in a C program under linux.
>> >>> In attachment there is bunch of lines of code i use to initialize libvlc
>> >>> in order to play some videos in a playlist.
>> >>> I start with "libvlc_media_list_player_play"
>> >>> My problem is that once the first video stops my app freeze and don't
>> >>> jump to the next video, i can't even restart playing the first video.
>> >>> Also using "libvlc_media_list_player_next" my app freeze.
>> >>
>> >> The media list stuff in libvlc is just crap throw away code.
>> >> Yeah, it does not work. At all.
>> >
>> > So it's better to have a custom playlist outside libvlc?
>> > (using play, catch video stop with an event, play the next video erc...)
>> > Or there is a patch or a workaround to apply to the existing code?
>>
>> I may end up fixing it. There are some vlc core limitation that needs
>> to be addressed first.
>  What are the limitations you have in mind ?

Variables callback can't be removed from within a callback. This is
doable but requires some careful work. (We have that for the events.c
stuff - which has its own limitation though)



More information about the vlc-devel mailing list