<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px"> If I add a probe to src pad of my element and emit a signal from this probe handler which will be received by the application.Upon receiving this signal, application is supposed to do state change of this element.</div>
<div style="font-family:arial,sans-serif;font-size:13px">Will it be a valid implementation? Does g_signal_emit or signal handler(in application) run in pipeline context?</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks,</div><div style="font-family:arial,sans-serif;font-size:13px">Yogesh</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 9, 2014 at 5:42 AM, Luis de Bethencourt <span dir="ltr"><<a href="mailto:luis@debethencourt.com" target="_blank">luis@debethencourt.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Yogesh,<br><br>You could use a gst_pad_add_probe () to be notified of the change you are looking for in the element's video source pad. <br>
<br><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#GstPadProbeType" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#GstPadProbeType</a><div>
<br></div><div>Hope this helps,</div><div>Luis<br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 8 May 2014 14:18, Yogesh Tyagi <span dir="ltr"><<a href="mailto:yogesh.bit2006@gmail.com" target="_blank">yogesh.bit2006@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I want to notify the application when first buffer is received on video source pad of my demux element.<div>
<br></div><div><br></div><div>Thanks,</div><div>Yogesh</div></div><div><div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Thu, May 8, 2014 at 6:36 PM, Yogesh Tyagi <span dir="ltr"><<a href="mailto:yogesh.bit2006@gmail.com" target="_blank">yogesh.bit2006@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>What is best mechanism for application and element interaction in gstreamer?</div><div><br></div><div>Thanks,</div><div>Yogesh</div></div>
</blockquote></div><br></div>
</div></div><br></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>