[gstreamermm] SlotQuery use const reference to RefPtr, since it doesn't transer ownership
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] SlotQuery use const reference to RefPtr, since it doesn't transer ownership
- Date: Thu, 10 Apr 2014 13:35:51 +0000 (UTC)
commit cbca1211af38866b0efbcf8c0e35568c48145178
Author: Tomasz Lakota <tomasz lakota flytronic pl>
Date: Mon Mar 24 18:29:34 2014 +0100
SlotQuery use const reference to RefPtr, since it doesn't transer ownership
Conflicts:
gstreamer/gstreamermm/pad.h
gstreamer/src/pad.hg | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gstreamer/src/pad.hg b/gstreamer/src/pad.hg
index 60be2b1..0bd80c2 100644
--- a/gstreamer/src/pad.hg
+++ b/gstreamer/src/pad.hg
@@ -115,11 +115,11 @@ public:
*/
typedef sigc::slot< PadProbeReturn, const Glib::RefPtr<Gst::Pad>&, const Gst::PadProbeInfo& > SlotProbe;
- typedef sigc::slot< Gst::FlowReturn, const Glib::RefPtr<Gst::Pad>&, Glib::RefPtr<Gst::Buffer>& > SlotChain;
+ typedef sigc::slot< Gst::FlowReturn, const Glib::RefPtr<Gst::Pad>&, /*transfer full*/
Glib::RefPtr<Gst::Buffer>& > SlotChain;
- typedef sigc::slot< gboolean, const Glib::RefPtr<Gst::Pad>&, Glib::RefPtr<Gst::Event>& > SlotEvent;
+ 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>&, Glib::RefPtr<Gst::Query>& > SlotQuery;
+ typedef sigc::slot< gboolean, const Glib::RefPtr<Gst::Pad>&, /*transfer none*/ const
Glib::RefPtr<Gst::Query>& > SlotQuery;
/** Creates a new pad with the given name in the given direction.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]