[gstreamermm] Gst::Pad: added a few constversion methods in Gst::PadProbeInfo class
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] Gst::Pad: added a few constversion methods in Gst::PadProbeInfo class
- Date: Fri, 28 Nov 2014 14:52:48 +0000 (UTC)
commit c3efb103a732969eb2b61758eecad544742c233a
Author: Marcin Kolny <marcin kolny flytronic pl>
Date: Fri Nov 28 15:47:30 2014 +0100
Gst::Pad: added a few constversion methods in Gst::PadProbeInfo class
* gstreamer/src/pad.hg: added constversion for accessing methods:
query, event, buffer and bufferlist. To have an access to mentioned
objects, we had to remove const-ness of PadProbeInfo object. It was
bothering and pointless. Now it can be done without const-casting.
gstreamer/src/pad.hg | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gstreamer/src/pad.hg b/gstreamer/src/pad.hg
index 69403dd..23aad4d 100644
--- a/gstreamer/src/pad.hg
+++ b/gstreamer/src/pad.hg
@@ -446,8 +446,11 @@ public:
_WRAP_METHOD(Glib::RefPtr<Gst::Event> get_event(), gst_pad_probe_info_get_event, refreturn)
_WRAP_METHOD(const Glib::RefPtr<Gst::Event> get_event() const, gst_pad_probe_info_get_event, constversion,
refreturn)
_WRAP_METHOD(Glib::RefPtr<Gst::Query> get_query(), gst_pad_probe_info_get_query)
+ _WRAP_METHOD(const Glib::RefPtr<Gst::Query> get_query() const, gst_pad_probe_info_get_query, constversion)
_WRAP_METHOD(Glib::RefPtr<Gst::Buffer> get_buffer(), gst_pad_probe_info_get_buffer, refreturn)
+ _WRAP_METHOD(const Glib::RefPtr<Gst::Buffer> get_buffer() const, gst_pad_probe_info_get_buffer, refreturn,
constversion)
_WRAP_METHOD(Glib::RefPtr<Gst::BufferList> get_buffer_list(), gst_pad_probe_info_get_buffer_list)
+ _WRAP_METHOD(const Glib::RefPtr<Gst::BufferList> get_buffer_list() const,
gst_pad_probe_info_get_buffer_list, constversion)
PadProbeType get_type() const;
protected:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]