[gstreamermm: 113/167] implemented {add|remove}_probe methods in pad
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm: 113/167] implemented {add|remove}_probe methods in pad
- Date: Tue, 3 Sep 2013 19:28:34 +0000 (UTC)
commit 9fb2e121ac2130a1dc456cfd4cbe8eeee43d1dde
Author: Marcin Kolny at Flytronic <marcin kolny flytronic pl>
Date: Thu Aug 1 15:31:15 2013 +0200
implemented {add|remove}_probe methods in pad
gstreamer/src/pad.hg | 5 +++++
tools/m4/convert_gst.m4 | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gstreamer/src/pad.hg b/gstreamer/src/pad.hg
index 9f319c5..a58dccb 100644
--- a/gstreamer/src/pad.hg
+++ b/gstreamer/src/pad.hg
@@ -46,6 +46,7 @@ _WRAP_ENUM(PadDirection, GstPadDirection)
_WRAP_ENUM(PadFlags, GstPadFlags)
_WRAP_ENUM(PadLinkReturn, GstPadLinkReturn)
_WRAP_ENUM(PadLinkCheck, GstPadLinkCheck)
+_WRAP_ENUM(PadProbeType, GstPadProbeType)
/** A class that represents objects contained by elements that allows links to
* other elements.
@@ -186,6 +187,10 @@ public:
Glib::RefPtr<const Gst::Caps> get_pad_template_caps() const;
_IGNORE(gst_pad_get_pad_template_caps)
+ _WRAP_METHOD(gulong add_probe(PadProbeType mask, GstPadProbeCallback callback, gpointer userdata,
GDestroyNotify notify), gst_pad_add_probe)
+ _WRAP_METHOD(void remove_probe(gulong id), gst_pad_remove_probe)
+
+
_WRAP_METHOD(bool set_caps(const Glib::RefPtr<Gst::Caps>& caps), gst_pad_set_caps)
_WRAP_METHOD(Glib::RefPtr<Gst::Pad> get_peer(), gst_pad_get_peer)
_WRAP_METHOD(Glib::RefPtr<const Gst::Pad> get_peer() const, gst_pad_get_peer, constversion)
diff --git a/tools/m4/convert_gst.m4 b/tools/m4/convert_gst.m4
index 2bc20cf..1a89df6 100644
--- a/tools/m4/convert_gst.m4
+++ b/tools/m4/convert_gst.m4
@@ -35,6 +35,7 @@ _CONV_ENUM(Gst,PadDirection)
_CONV_ENUM(Gst,PadLinkCheck)
_CONV_ENUM(Gst,PadLinkReturn)
_CONV_ENUM(Gst,PadPresence)
+_CONV_ENUM(Gst,PadProbeType)
_CONV_ENUM(Gst,PluginDependencyFlags)
_CONV_ENUM(Gst,QOSType)
_CONV_ENUM(Gst,QueryType)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]