[gstreamermm] wrapped get_sticky_event
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] wrapped get_sticky_event
- Date: Thu, 15 May 2014 07:45:20 +0000 (UTC)
commit b2330a87f795e03f385518760a2a3deaf0e6c901
Author: Tomasz Lakota <tomasz lakota flytronic pl>
Date: Tue Apr 15 10:04:28 2014 +0200
wrapped get_sticky_event
Signed-off-by: Marcin Kolny <marcin kolny flytronic pl>
gstreamer/src/pad.hg | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gstreamer/src/pad.hg b/gstreamer/src/pad.hg
index c91d1f3..314bce1 100644
--- a/gstreamer/src/pad.hg
+++ b/gstreamer/src/pad.hg
@@ -22,6 +22,7 @@
#include <gstreamermm/miniobject.h>
#include <gstreamermm/format.h>
#include <gstreamermm/query.h>
+#include <gstreamermm/event.h>
#include <gstreamermm/bufferlist.h>
#include <glibmm/arrayhandle.h>
@@ -37,6 +38,7 @@ class Event;
class PadTemplate;
class Query;
class PadProbeInfo;
+enum EventType;
//Gst::Iterator<> forward declaration.
template <class CppType>
@@ -343,6 +345,8 @@ public:
_WRAP_METHOD(bool stop_task() , gst_pad_stop_task)
_WRAP_METHOD(bool set_active(bool active = true), gst_pad_set_active)
+ _WRAP_METHOD(Glib::RefPtr<Gst::Event> get_sticky_event(Gst::EventType event_type, guint idx) const,
gst_pad_get_sticky_event)
+
friend GstFlowReturn Pad_Chain_gstreamermm_callback(GstPad* pad, GstObject* parent, GstBuffer *buffer);
void set_chain_function(const SlotChain& slot);
friend gboolean Pad_Event_gstreamermm_callback(GstPad* pad, GstObject* parent, GstEvent* event);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]