'How to read GstNavigationEvent from “osd_sink_pad_buffer_probe”?
I am trying to read GstNavigationEvents (Mouse Click Locations) from osd_sink_pad_buffer_probe. This Mouse clicks are generated by gstreamer’s XvImageSink which are then pushed upstream. I couldnot find any way to read such events inside osd_sink_pad_buffer_probe.
I tried printing info.type inside osd_sink_pad_buffer_probe like below:
print("GST EVENT TYPE: {}".format(info.type))
I get the following :
GST EVENT TYPE: <flags GST_PAD_PROBE_TYPE_BUFFER | GST_PAD_PROBE_TYPE_PUSH of type Gst.PadProbeType>
I want to read mouseclicks from osd_sink_pad_buffer_probe so that I can modify the osd based on the mouseclicks from user.
Please help. Thank you.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
