[vlc-devel] [PATCH 1/2] libvlc: deactivate the playlist before destroying the preparser

Filip Roséen filip at atch.se
Thu Aug 25 14:53:21 CEST 2016


Hi Remi,

There are cleaner solutions, and I plan to send such as RFC to
`vlc-devel` later this week.

On 16/08/24 20:11, Rémi Denis-Courmont wrote:

> > In that case we need to split it up into 1) deactivate playlist 2)
> > destroy interfaces (but not the playlist) 3) delete the preparser 4)
> > delete the playlist (idea from filip).
> 
> I don´t know. I don´t understand the relevance of step (1) and of this patch 
> to the underlying problem.

The relevance of step `(1)` is basically to make sure that something
does not schedule a *preparse-request* inbetween `(3)` and `(4)`
without introducing too many changes to the preparser process itself.

It can however be solved in different manners, I just thought of the
steps to reach a simple solution to a rather complex problem (given
the current implementation).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160825/bc2906fa/attachment.html>


More information about the vlc-devel mailing list