[gstreamermm] Used _MEMBER_GET_GOBJECT when working with GObject members.



commit 29cbc78434fb2787c8616fe663068a9b63eb54cd
Author: José Alburquerque <jaalburqu svn gnome org>
Date:   Sun May 17 15:59:32 2009 -0400

    Used _MEMBER_GET_GOBJECT when	working with GObject members.
---
 ChangeLog                      |   10 ++++++++++
 gstreamer/src/baseaudiosink.hg |    2 +-
 gstreamer/src/baseaudiosrc.hg  |    2 +-
 gstreamer/src/basesink.hg      |    2 +-
 gstreamer/src/basesrc.hg       |    2 +-
 gstreamer/src/basetransform.hg |    4 ++--
 6 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b796a13..cc6193c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-05-17  José Alburquerque  <jaalburqu svn gnome org>
+
+	* gstreamer/src/baseaudiosink.hg:
+	* gstreamer/src/baseaudiosrc.hg:
+	* gstreamer/src/basesink.hg:
+	* gstreamer/src/basesrc.hg:
+	* gstreamer/src/basetransform.hg: Used _MEMBER_GET_GOBJECT when
+	working with GObject members.  I don't know how I didn't notice
+	Murray's entry on 2008-02-05 explaining this.
+	
 2009-05-15  José Alburquerque  <jaalburqu svn gnome org>
 
 	* examples/media_player_gtkmm/main.cc:
diff --git a/gstreamer/src/baseaudiosink.hg b/gstreamer/src/baseaudiosink.hg
index e5dca4a..c91e0c4 100644
--- a/gstreamer/src/baseaudiosink.hg
+++ b/gstreamer/src/baseaudiosink.hg
@@ -45,7 +45,7 @@ class BaseAudioSink : public Gst::BaseSink
 public:
   /** Get the Gst::Clock of the Gst::BaseAudioSink.
    */
-  _MEMBER_GET(provided_clock, provided_clock, Glib::RefPtr<Gst::Clock>, GstClock*)
+  _MEMBER_GET_GOBJECT(provided_clock, provided_clock, Gst::Clock, GstClock*)
 
   _WRAP_METHOD(Glib::RefPtr<Gst::RingBuffer> create_ring_buffer(), gst_base_audio_sink_create_ringbuffer)
   _WRAP_METHOD(void set_provide_clock(bool provide), gst_base_audio_sink_set_provide_clock)
diff --git a/gstreamer/src/baseaudiosrc.hg b/gstreamer/src/baseaudiosrc.hg
index 1573e6f..a3d1b97 100644
--- a/gstreamer/src/baseaudiosrc.hg
+++ b/gstreamer/src/baseaudiosrc.hg
@@ -45,7 +45,7 @@ class BaseAudioSrc : public Gst::PushSrc
 public:
   /** Get the Gst::Clock of the Gst::AudioSrc.
    */
-  _MEMBER_GET(clock, clock, Glib::RefPtr<Gst::Clock>, GstClock*)
+  _MEMBER_GET_GOBJECT(clock, clock, Gst::Clock, GstClock*)
 
   _WRAP_METHOD(Glib::RefPtr<Gst::RingBuffer> create_ring_buffer(), gst_base_audio_src_create_ringbuffer)
 
diff --git a/gstreamer/src/basesink.hg b/gstreamer/src/basesink.hg
index b02f85d..b9f0697 100644
--- a/gstreamer/src/basesink.hg
+++ b/gstreamer/src/basesink.hg
@@ -201,7 +201,7 @@ public:
 
   /** Gets the sink Gst::Pad object of the element.
    */
-  _MEMBER_GET(sink_pad, sinkpad, Glib::RefPtr<Gst::Pad>, GstPad*)
+  _MEMBER_GET_GOBJECT(sink_pad, sinkpad, Gst::Pad, GstPad*)
 
   _WRAP_PROPERTY("async", bool)
   _WRAP_PROPERTY("last-buffer", Glib::RefPtr<Gst::Buffer>)
diff --git a/gstreamer/src/basesrc.hg b/gstreamer/src/basesrc.hg
index 389a117..54a5f82 100644
--- a/gstreamer/src/basesrc.hg
+++ b/gstreamer/src/basesrc.hg
@@ -156,7 +156,7 @@ public:
 
   /** Gets the source Gst::Pad object of the element.
    */
-  _MEMBER_GET(src_pad, srcpad, Glib::RefPtr<Gst::Pad>, GstPad*)
+  _MEMBER_GET_GOBJECT(src_pad, srcpad, Gst::Pad, GstPad*)
 
   _WRAP_PROPERTY("blocksize", gulong)
   _WRAP_PROPERTY("do-timestamp", bool)
diff --git a/gstreamer/src/basetransform.hg b/gstreamer/src/basetransform.hg
index c242bf8..619c997 100644
--- a/gstreamer/src/basetransform.hg
+++ b/gstreamer/src/basetransform.hg
@@ -159,11 +159,11 @@ public:
 
   /** Gives the refptr to the sink Gst::Pad object of the element.
    */
-  _MEMBER_GET(sink_pad, sinkpad, Glib::RefPtr<Gst::Pad>, GstPad*)
+  _MEMBER_GET_GOBJECT(sink_pad, sinkpad, Gst::Pad, GstPad*)
 
   /** Gives the refptr to the source Gst::Pad object of the element.
    */
-  _MEMBER_GET(src_pad, srcpad, Glib::RefPtr<Gst::Pad>, GstPad*)
+  _MEMBER_GET_GOBJECT(src_pad, srcpad, Gst::Pad, GstPad*)
 
   _WRAP_PROPERTY("qos", bool)
 



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