[vlc-devel] Problem using libvlc

Pierre d'Herbemont pdherbemont at free.fr
Thu May 21 23:53:34 CEST 2009


On Thu, May 21, 2009 at 2:48 PM, Andrea Visinoni
<andrea at puntualmenteinritardo.com> wrote:
> Pierre d'Herbemont ha scritto:
>>
>> 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.
>>
>> Yet, you just basically want to use a media_list (or even your
>> preferred way to store a list of media) and a media_player. There
>> should be enough here to do what you want to achieve.
>>
>> Pierre.
>
> So the problem is only about the media_list_player?
> Thank you for the hints.

Yes, it's basically an untested stuff, because VLC developers are
reckless (hum :) ), and because there is no test suite. Or a very
limited one for shameless reasons.

Pierre.



More information about the vlc-devel mailing list