[gstreamermm] Gst::Pad: update class



commit 6ad8a5d43c420600ef76412f8416e789c8cb9f72
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Sun Aug 28 16:33:33 2016 +0200

    Gst::Pad: update class

 gstreamer/src/pad.hg |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gstreamer/src/pad.hg b/gstreamer/src/pad.hg
index fd822ea..7acc978 100644
--- a/gstreamer/src/pad.hg
+++ b/gstreamer/src/pad.hg
@@ -162,6 +162,8 @@ public:
    */
   _WRAP_CREATE(const Glib::RefPtr<const Gst::PadTemplate>& pad_template, const Glib::ustring& name)
 
+  _MEMBER_GET(mode, mode, Gst::PadMode, GstPadMode)
+
   _WRAP_METHOD(Glib::RefPtr<Gst::Caps> query_caps(Glib::RefPtr<Gst::Caps> caps), gst_pad_query_caps)
   _WRAP_METHOD(Glib::RefPtr<const Gst::Caps> query_caps(Glib::RefPtr<Gst::Caps> caps) const, 
gst_pad_query_caps, constversion)
 
@@ -185,7 +187,6 @@ public:
   _IGNORE(gst_pad_add_probe)
   _WRAP_METHOD(void remove_probe(gulong id), gst_pad_remove_probe)
 
-
   _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)
 
@@ -349,6 +350,7 @@ public:
   _WRAP_PROPERTY("caps", Glib::RefPtr<Gst::Caps>)
   _WRAP_PROPERTY("direction", PadDirection)
   _WRAP_PROPERTY("template", PadTemplate)
+  _WRAP_PROPERTY("offset", gint64)
 
   /**
    * Checks whether pad is a ghostpad.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]