Element's pad is not linked

Sebastian Dröge sebastian at centricular.com
Sat Dec 7 02:05:41 PST 2013


On Do, 2013-12-05 at 21:20 +0100, Jan Vorcak wrote:
> Hi,
> 
> I'm developing a GStreamer plugin containing one sink element.
> Right now I'm in the position when I need to send RECONFIGURE event
> upstream.
> 
> So I tried following
> 
> gst_pad_push_event(trampsink->sinkpad, gst_event_new_reconfigure());
> 
> However it doesn't do anything. I tried to find out what is going on an the
> element seems not to have its peer.
> 
> gst_pad_is_linked(trampsink->sinkpad) returns FALSE.
> 
> 
> I execute everything using gst-launch-1.0 -v --gst-plugin-path=.libs/
> fakesrc ! queue ! trampsink
> 
> While debugging, I generated the PNG of the pipeline and elements seems to
> be linked (they are in the same pipeline so it should be OK).
> 
> https://www.dropbox.com/s/a6c4upmbbmr7th3/another.png
> 
> Can anyone explain what is going on? I'm reading the docs all over again
> and found nothing so far.

Can you provide the relevant parts of your code? Especially when are you
trying to send the RECONFIGURE event, and when do you call
gst_pad_is_linked().

Note that sending a RECONFIGURE event in that pipeline won't really have
an effect as neither fakesrc nor queue can configure anything else.

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131207/01566678/attachment.pgp>


More information about the gstreamer-devel mailing list