[gstreamermm] Gst::Pad: change type of query in SlotQuery to non-const reference



commit 8e92093593da94b361cdf5f419a2e0dd55444ff2
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Tue Aug 25 20:11:10 2015 +0000

    Gst::Pad: change type of query in SlotQuery to non-const reference
    
        * gstreamer/src/pad.hg: non-const reference allow user to casting
          between queries without increasing reference (see previous commit).

 gstreamer/src/pad.hg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gstreamer/src/pad.hg b/gstreamer/src/pad.hg
index d2d7859..a2eb5d4 100644
--- a/gstreamer/src/pad.hg
+++ b/gstreamer/src/pad.hg
@@ -120,7 +120,7 @@ public:
 
   typedef sigc::slot< gboolean, const Glib::RefPtr<Gst::Pad>&, /*transfer full*/Glib::RefPtr<Gst::Event>& > 
SlotEvent;
 
-  typedef sigc::slot< gboolean, const Glib::RefPtr<Gst::Pad>&, /*transfer none*/ const 
Glib::RefPtr<Gst::Query>& > SlotQuery;
+  typedef sigc::slot< gboolean, const Glib::RefPtr<Gst::Pad>&, /*transfer none*/ Glib::RefPtr<Gst::Query>& > 
SlotQuery;
 
   typedef sigc::slot< bool, const Glib::RefPtr<Gst::Pad>& > SlotActivate;
 


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