[Bug 702921] [pygi] python applications cannot interpret buffer metadata
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jun 16 02:32:52 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=702921
GStreamer | gstreamer (core) | git
Thibault Saunier <tsaunier> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tsaunier at gnome.org
--- Comment #1 from Thibault Saunier <tsaunier at gnome.org> 2014-06-16 09:32:50 UTC ---
You should do:
> from gi.repository import GstNet
> def on_udp_packet_arrived(pad, info, _user_data):
> buf = Gst.PadProbeInfo.get_buffer(info)
> info = buf.get_meta(GstNet.NetAddressMeta)
> print(dir(info))
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list