[vlc-devel] Can anyone tell me why this patch was done?

Niles Bindel zaggal69 at gmail.com
Wed Aug 19 21:12:23 CEST 2009


Just to ensure we are all on the same page, let me reiterate the issue I am
trying to resolve.

Basically, I'm trying to fix an issue with the playlist not automatically
playing the next item in the playlist after completing playback of the
currently playing item.  This had been working fine in previous versions of
VLC that were in existence prior to the patch I mentioned above.  When I
looked into the issue, I found that there was no longer any code in place to
accommodate this automatic transitioning ability as there was in the
previous versions due to the switch to using a MediaList instead of the
Playlist.  I tried to resolve this issue by using the existing
MediaListPlayer, however, as I describe in more detail here (
http://mailman.videolan.org/pipermail/vlc-devel/2009-August/064366.html), I
ran into a threading deadlock whenever the currently playing item reached
its end and tried to move onto the next media list item.  Ultimately, the
deadlock is caused by an event callback trying to delete itself.

The simplest test case to replicate this issue would be to create a valid
media player, media list, and media list player.  Add two short video files
to a media list, set the media list and player for the media list player,
start playback and the deadlock will occur as soon as the end of the first
file is done playing.



On Wed, Aug 19, 2009 at 10:22 AM, Pierre d'Herbemont <pdherbemont at free.fr>wrote:

> On Wed, Aug 19, 2009 at 12:27 PM, Jean-Baptiste
> Besnard<jbbesnard at actech-innovation.com> wrote:
> > In my opinion the plugin should rely on the API for its stability. I
> > tried medialistplayer too but it seems quite unstable.
>
> If you have a reduced test case, I'll be happy to look at it.
>
> Pierre.
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090819/6c193292/attachment.html>


More information about the vlc-devel mailing list