[gstreamermm] wrapped a method from gstpadprobeinfo
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] wrapped a method from gstpadprobeinfo
- Date: Fri, 23 May 2014 15:45:32 +0000 (UTC)
commit 349645b824e07ce4dff1f3b3648075a62b1d6c7d
Author: Marcin Kolny <marcin kolny gmail com>
Date: Fri May 23 17:41:10 2014 +0200
wrapped a method from gstpadprobeinfo
gstreamer/src/pad.ccg | 5 +++++
gstreamer/src/pad.hg | 2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gstreamer/src/pad.ccg b/gstreamer/src/pad.ccg
index e499f50..cf16eac 100644
--- a/gstreamer/src/pad.ccg
+++ b/gstreamer/src/pad.ccg
@@ -335,6 +335,11 @@ PadProbeInfo::~PadProbeInfo()
g_free(gobj_);
}
+PadProbeType PadProbeInfo::get_type() const
+{
+ return static_cast<PadProbeType>(GST_PAD_PROBE_INFO_TYPE(gobj()));
+}
+
} //namespace Gst
namespace Glib
diff --git a/gstreamer/src/pad.hg b/gstreamer/src/pad.hg
index 314bce1..ca56ee7 100644
--- a/gstreamer/src/pad.hg
+++ b/gstreamer/src/pad.hg
@@ -429,6 +429,8 @@ public:
_WRAP_METHOD(Glib::RefPtr<Gst::Query> get_query(), gst_pad_probe_info_get_query)
_WRAP_METHOD(Glib::RefPtr<Gst::Buffer> get_buffer(), gst_pad_probe_info_get_buffer, refreturn)
_WRAP_METHOD(Glib::RefPtr<Gst::BufferList> get_buffer_list(), gst_pad_probe_info_get_buffer_list)
+
+ PadProbeType get_type() const;
protected:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
GstPadProbeInfo* gobj_;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]