[vlc-devel] Spawning a vout when none is available

Rémi Denis-Courmont rdenis at simphalempin.com
Mon Feb 9 16:26:04 CET 2009


On Mon, 9 Feb 2009 14:36:45 +0000, "ogg.k.ogg.k at googlemail.com"
<ogg.k.ogg.k at googlemail.com> wrote:
>> Is there another way to know when a vout is/will be there,
>> so to only spawn one when there is none ?
> 
> Thinking about it, I think it is better to always spawn a separate
> vout, so slides, if enabled, can be viewed separately from any
> video. Is the attached patch (not finished, but working) a clean
> way to do this ?

I don't understand your problem anyway. The demux should know if it has
created a VIDEO_ES, in which case it is safe to assume there is a video
output, and reciprocally - unless stream output is involved or video was
disabled.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list