[vlc-devel] [RFC PATCH 4/8] playlist: start/stop vlc_renderer on new input

Steve Lhomme robux4 at gmail.com
Fri Feb 19 08:07:40 CET 2016


On Fri, Feb 19, 2016 at 1:05 AM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2016-02-18 18:33, Thomas Guillem a écrit :
>>
>> start/stop are no-op if no renderer was configured.
>
>
> This makes no sense. Input controls the start/stop and pause/resume. You
> can't manage the same thing in two different places (not without intractable
> bugs and races anyway).

Right now that's not what the renderer I did do. The control of the
input thread remains unchanged. This renderer start/stop is just a
different way to do the "input-prepare" I proposed to be notified when
the input thread is being configured and for a chance to alter the
configuration.

Unlike "input-prepare" this approach avoids some possible order issues
on callbacks that would have been set on this variable. It only allows
one specific kind of plugin and one single instance to alter the
playback output.

> --
> Rémi Denis-Courmont
> http://www.remlab.net/
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list