[vlc-devel] [PATCH] Display slides in a separate vout

ogg.k.ogg.k at googlemail.com ogg.k.ogg.k at googlemail.com
Sun Feb 15 01:55:12 CET 2009

>  With the latest master, a decoder can output a format that is not equal
> to the input format as long as it declares the right format in the open
> function.
>  In my patch I assume that the whole decoder configuration is present in the
> open function (otherwise it cannot work). I think it is the case and if so,
> a lot of code can be removed/cleaned up.

I do not know yet whether it's best to use a separate vout before I have
decoded the BOS packet (where the stream category is specified),
which happens in DecodeBlock, after OpenDecoder has returned.

However, if the Kate plugin's OpenDecoder function gets called, it has
to be because a Kate packet has been found, so this packet might be
accessible somehow from OpenDecoder ? The first packet would be
enough for this.

While there - if I resize the vout, the image disappears. I think I have
to somehow react to the resize event, and resend the image, but I
cannot find how to do this. Would you know where to start looking ?


More information about the vlc-devel mailing list