[gstreamermm: 48/167] fixed miniobject class
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm: 48/167] fixed miniobject class
- Date: Tue, 3 Sep 2013 19:23:06 +0000 (UTC)
commit 40cfffedcfc733c9637d50ca8fec0146544eb77a
Author: Marcin Kolny at Flytronic <marcin kolny flytronic pl>
Date: Fri Jul 26 13:10:42 2013 +0200
fixed miniobject class
gstreamer/src/miniobject.ccg | 1 +
gstreamer/src/miniobject.hg | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gstreamer/src/miniobject.ccg b/gstreamer/src/miniobject.ccg
index dca2eff..137dc42 100644
--- a/gstreamer/src/miniobject.ccg
+++ b/gstreamer/src/miniobject.ccg
@@ -25,6 +25,7 @@ namespace Gst
MiniObject::~MiniObject()
{
+ GstMiniObject *const gobject_ = reinterpret_cast<GstMiniObject*>(const_cast<MiniObject*>(this));
// The value of the reference count is checked so that if this mini object is
// being destroyed as a result of weak reference notification no
// unreferencing is done and thus no error is issued on unreferencing a mini
diff --git a/gstreamer/src/miniobject.hg b/gstreamer/src/miniobject.hg
index 60fe569..978a5d1 100644
--- a/gstreamer/src/miniobject.hg
+++ b/gstreamer/src/miniobject.hg
@@ -33,10 +33,11 @@ _WRAP_ENUM(LockFlags, GstLockFlags)
*/
class MiniObject
{
- _CLASS_OPAQUE_REFCOUNTED(MiniObject, GstMiniObject, gst_mini_object_new, gst_mini_object_ref,
gst_mini_object_unref)
+ _CLASS_OPAQUE_REFCOUNTED(MiniObject, GstMiniObject, NONE, gst_mini_object_ref, gst_mini_object_unref)
_IGNORE(gst_mini_object_ref, gst_mini_object_unref)
public:
+ ~MiniObject();
_MEMBER_GET(flags, flags, guint, guint)
_MEMBER_SET(flags, flags, guint, guint)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]