[gstreamermm] Caps: Correct a compile error.
- From: Josà Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] Caps: Correct a compile error.
- Date: Wed, 13 Jul 2011 04:06:43 +0000 (UTC)
commit 302f73f5bed8fc9b6b64447adc84844023e051cd
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date: Tue Jul 12 23:00:08 2011 -0400
Caps: Correct a compile error.
* gstreamer/src/caps.ccg (set_simple): Use this->gobj() instead of
just gobj() because gcc 4.5.2 sees that as error for some reason.
ChangeLog | 7 +++++++
gstreamer/src/caps.ccg | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 85f79ac..9411a35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-07-12 Josà Alburquerque <jaalburqu svn gnome org>
+
+ Caps: Correct a compile error.
+
+ * gstreamer/src/caps.ccg (set_simple): Use this->gobj() instead of
+ just gobj() because gcc 4.5.2 sees that as error for some reason.
+
2011-05-25 Josà Alburquerque <jaalburqu svn gnome org>
Element: Add request_pad() and a link_pads() overload.
diff --git a/gstreamer/src/caps.ccg b/gstreamer/src/caps.ccg
index c1b4e37..8bd2994 100644
--- a/gstreamer/src/caps.ccg
+++ b/gstreamer/src/caps.ccg
@@ -83,8 +83,8 @@ void Caps::merge_structure(Structure& structure)
void
Caps::set_simple(const Glib::ustring& name, const Glib::ValueBase& value)
{
- g_return_if_fail((gobj()->structs->len == 1)); // Not simple
- g_return_if_fail (g_atomic_int_get(&(gobj())->refcount) == 1); // IS_WRITABLE(caps) fails
+ g_return_if_fail((this->gobj()->structs->len == 1)); // Not simple
+ g_return_if_fail (g_atomic_int_get(&(this->gobj())->refcount) == 1); // IS_WRITABLE(caps) fails
//The result of gst_caps_get_structure() should not be modified, according to
//its documentation, but we are reimplementing gst_caps_set_simple() which
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]