what transmission of direction are GST_EVENT_CUSTOM_DOWNSTREAM and GST_EVENT_CUSTOM_UPSTREAM events?

Sebastian Dröge sebastian at centricular.com
Wed Jan 20 04:39:19 PST 2016


On Di, 2016-01-19 at 17:30 -0800, zhang007z wrote:
> as title description :
> (1)My understanding was that GST_EVENT_CUSTOM_DOWNSTREAM event is transmited
> from upstream src pad to downstream sink pad,on downstream sink pad
> GST_EVENT_CUSTOM_DOWNSTREAM event is dealed with by
> downstream_handler_function gst_pad_set_event_function (sinkpad,
> upstream_handler_function) set up . 
> 
> (2)whereas GST_EVENT_CUSTOM_UPSTREAM event is transmited from downstream
> sink pad to upstream src pad. on upstream src pad GST_EVENT_CUSTOM_UPSTREAM
> event is dealed with by upstream_handler_function gst_pad_set_event_function
> (srcpad, upstream_handler_function) set up .
> 
> I don't know if I understand the issue of principle is correct?

That's correct, the easiest way to confirm this would be by just
running some GStreamer code and following the events.

Note that this is true for all upstream and downstream events, not just
the custom ones.

-- 
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: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160120/72629405/attachment-0001.sig>


More information about the gstreamer-devel mailing list