Application Element interaction

Yogesh Tyagi yogesh.bit2006 at gmail.com
Thu May 8 19:30:23 PDT 2014


 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.
Will it be a valid implementation? Does g_signal_emit or signal handler(in
application) run in pipeline context?

Thanks,
Yogesh


On Fri, May 9, 2014 at 5:42 AM, Luis de Bethencourt
<luis at debethencourt.com>wrote:

> Hi Yogesh,
>
> 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.
>
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#GstPadProbeType
>
> Hope this helps,
> Luis
>
>
> On 8 May 2014 14:18, Yogesh Tyagi <yogesh.bit2006 at gmail.com> wrote:
>
>> I want to notify the application when first buffer is received on video
>> source pad of my demux element.
>>
>>
>> Thanks,
>> Yogesh
>>
>>
>> On Thu, May 8, 2014 at 6:36 PM, Yogesh Tyagi <yogesh.bit2006 at gmail.com>wrote:
>>
>>> Hi,
>>>
>>> What is best mechanism for application and element interaction in
>>> gstreamer?
>>>
>>> Thanks,
>>> Yogesh
>>>
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140509/1d1d9ce8/attachment.html>


More information about the gstreamer-devel mailing list