sending events upstream to gstreamer queue

Sebastian Dröge sebastian at centricular.com
Fri May 20 08:34:42 UTC 2016


On Do, 2016-05-19 at 23:40 +0200, John Vetter wrote:
> Hi,
>  
> I'm a newbie to gstreamer.
>  
> I'm having trouble with sending events from a downstream plugin to a
> gstreamer queue element.
>  
> During the link, the downstream element sends a custom event, but the
> source pad of the queue is in the flushing state:
>  
> GST_EVENT gstpad.c:5182:gst_pad_send_event_unchecked:<my_queue:src>
> Received event on flushing pad. Discarding
>  
> I tried the standard plugins with gst-launch and I find  similar
> result. The src pad on the queue is in a flushing state and cannot
> process events.
>  
> Could somebody be good enough to tell me how I can send events from a
> downstream unit to a queue?

This most likely means that the queue is not in PAUSED/PLAYING state
yet, or more specific that its source pad is not activated yet.

Before events are accepted you need to do that. 

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- 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: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160520/63dcfcf1/attachment.sig>


More information about the gstreamer-devel mailing list