Decodebin and caps in 0.11

Matej Knopp matej.knopp at
Mon Nov 21 20:17:22 PST 2011

Actually, now I realize I can add an event probe on the pad from
decodebin to check for setcaps event, still is this behavior
intentional? How will this work with parsers if decodebin doesn't feed
the elements any data?


On Tue, Nov 22, 2011 at 5:02 AM, Matej Knopp <matej.knopp at> wrote:
> Hi,
> I'm having problems with getting caps information in decodebin's
> pad-added callback.
> During the callback the decode bin has no caps set.
> The decoder (ffmpegdec) did not send setcaps event because the chain
> method has not been invoked before the pad-added callback.
> It looks like decodebin is blocking the pipeline, but why is it
> blocking it before the decoder element?
> Kind regards,
> Matej Knopp
> InMethod

More information about the gstreamer-devel mailing list