Decodebin and caps in 0.11

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Decodebin and caps in 0.11

Matej Knopp
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Decodebin and caps in 0.11

Matej Knopp
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?

-Matej

On Tue, Nov 22, 2011 at 5:02 AM, Matej Knopp <[hidden email]> 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
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel