<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm developing a GStreamer plugin containing one sink element.</div>
<div style="font-family:arial,sans-serif;font-size:13px">Right now I'm in the position when I need to send RECONFIGURE event upstream.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
So I tried following</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">gst_pad_push_event(trampsink->sinkpad, gst_event_new_reconfigure());</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">However it doesn't do anything. I tried to find out what is going on an the element seems not to have its peer.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><p>gst_pad_is_linked(trampsink->sinkpad) returns FALSE.</p><p><br></p><p>I execute everything using gst-launch-1.0 -v --gst-plugin-path=.libs/ fakesrc ! queue ! trampsink</p>
<p>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).</p><p><a href="https://www.dropbox.com/s/a6c4upmbbmr7th3/another.png" target="_blank">https://www.dropbox.com/s/a6c4upmbbmr7th3/another.png</a><br>
</p><p>Can anyone explain what is going on? I'm reading the docs all over again and found nothing so far.</p><p>Any help would be appreciated</p></div></div>