can't connect the decodebin to autovideosink

Sebastian Dröge sebastian at
Wed Apr 23 01:02:54 PDT 2014

On Di, 2014-04-22 at 09:49 -0700, leon wrote:
> Hi,
> I have simple pipeline:
> appsrc ! decodebin ! autovideosink
> I know that I cant link the decodebin to the autovideosink until the stream
> starts.
> but when I tried to add the callback "pad-added" and put a break point, the
> program never got there.
> [...]
> am I doing something wrong here? I will be happy for help.

That part of the code looks ok... please check the debug logs to see if
decodebin actually gets any data, and why it doesn't expose any pads if
it does get enough data. Just checking with GST_DEBUG=decodebin*:6
should be sufficient here.

Sebastian Dröge, Centricular Ltd -
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the gstreamer-devel mailing list