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?
gst-launch-1.0 filesrc location=song.ogg ! decodebin ! tee name=t ! queue ! audioconvert
0:00:02.716548147 23194 0xb88f4400 DEBUG GST_CAPS gstpad.c:2106:gst_pad_link_check_compatible_unlocked: caps are compatible
0:00:02.716585035 23194 0xb88f4400 INFO GST_PADS gstpad.c:2388:gst_pad_link_full: linked queue0:src and audioconvert0:sink, successful 0:00:02.716633961 23194 0xb88f4400 INFO GST_EVENT gstevent.c:1373:gst_event_new_reconfigure: creating reconfigure event 0:00:02.716666480 23194 0xb88f4400 DEBUG GST_EVENT gstevent.c:301:gst_event_new_custom: creating new event 0xb88fbf88 reconfigure 61441 0:00:02.716706961 23194 0xb88f4400 DEBUG GST_EVENT gstpad.c:5092:gst_pad_send_event_unchecked:<queue0:src> have event type reconfigure event: 0xb88fbf88, time 99:99:99.999999999, seq-num 8, (NULL) 0:00:02.716748628 23194 0xb88f4400 INFO GST_EVENT gstpad.c:5182:gst_pad_send_event_unchecked:<queue0:src> Received event on flushing pad. Discarding Thanks,
John _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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? 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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Free forum by Nabble | Edit this page |