[gstreamermm] Mixer: Use correct syntax for object construction.
- From: José Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] Mixer: Use correct syntax for object construction.
- Date: Fri, 6 Aug 2010 22:19:19 +0000 (UTC)
commit bc90fe025e9b06736d97f42aea380cdf3405c991
Author: José Alburquerque <jaalburqu svn gnome org>
Date: Fri Aug 6 16:06:33 2010 -0400
Mixer: Use correct syntax for object construction.
* gstreamer/src/mixer.ccg (get_volume): Use ArrayHandle<>() for
constructing the list instead of Glib::ArrayHandle<>::ArrayHandle<>()
which is incorrect.
Fixes bug #626203 (Diego E. Flameeyes Pettenò)
ChangeLog | 10 ++++++++++
gstreamer/src/mixer.ccg | 3 +--
2 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 36871c0..86e0c26 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2010-08-06 José Alburquerque <jaalburqu svn gnome org>
+
+ Mixer: Use correct syntax for object construction.
+
+ * gstreamer/src/mixer.ccg (get_volume): Use ArrayHandle<>() for
+ constructing the list instead of Glib::ArrayHandle<>::ArrayHandle<>()
+ which is incorrect.
+
+ Fixes bug #626203 (Diego E. Flameeyes Pettenò)
+
2010-07-21 José Alburquerque <jaalburqu svn gnome org>
BaseSink: Wrap the "enable-last-buffer" property.
diff --git a/gstreamer/src/mixer.ccg b/gstreamer/src/mixer.ccg
index 8796016..93aa63b 100644
--- a/gstreamer/src/mixer.ccg
+++ b/gstreamer/src/mixer.ccg
@@ -201,8 +201,7 @@ Glib::ArrayHandle<int> Mixer::get_volume(const Glib::RefPtr<const Gst::MixerTrac
gst_mixer_get_volume(const_cast<GstMixer*>(gobj()),
const_cast<GstMixerTrack*>(Glib::unwrap(track)), volumes);
- return Glib::ArrayHandle<int>::ArrayHandle(volumes, num_channels,
- Glib::OWNERSHIP_DEEP);
+ return Glib::ArrayHandle<int>(volumes, num_channels, Glib::OWNERSHIP_DEEP);
}
// This vfunc wrapper is manually written, because we want the C++ vfunc to
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]