[gstreamermm: 39/167] solved problems with discovererinfo



commit 42eb4dc9e862f743efb558909cee01dd3ee3e788
Author: Marcin Kolny at Flytronic <marcin kolny flytronic pl>
Date:   Thu Jul 25 14:05:06 2013 +0200

    solved problems with discovererinfo

 gstreamer/src/discovererinfo.ccg |   12 +++++++++++-
 gstreamer/src/discovererinfo.hg  |   12 ++++++------
 2 files changed, 17 insertions(+), 7 deletions(-)
---
diff --git a/gstreamer/src/discovererinfo.ccg b/gstreamer/src/discovererinfo.ccg
index 61f0eea..f833368 100644
--- a/gstreamer/src/discovererinfo.ccg
+++ b/gstreamer/src/discovererinfo.ccg
@@ -21,5 +21,15 @@
 #include <gstreamermm/caps.h>
 #include <gstreamermm/structure.h>
 #include <gstreamermm/taglist.h>
-
+#include <gobject/gobject.h>
 _PINCLUDE(gstreamermm/private/miniobject_p.h)
+
+namespace Gst
+{
+
+static GstDiscovererInfo *
+gst_discoverer_info_new (void)
+{
+  return (GstDiscovererInfo *) g_object_new (GST_TYPE_DISCOVERER_INFO, NULL);
+}
+}
diff --git a/gstreamer/src/discovererinfo.hg b/gstreamer/src/discovererinfo.hg
index 263b00a..75ab671 100644
--- a/gstreamer/src/discovererinfo.hg
+++ b/gstreamer/src/discovererinfo.hg
@@ -24,27 +24,27 @@ _DEFS(gstreamermm,gst)
 
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 typedef struct _GstDiscovererInfo GstDiscovererInfo;
-typedef GstMiniObjectClass GstDiscovererInfoClass;
+typedef GObjectClass GstDiscovererInfoClass;
 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 typedef struct _GstDiscovererStreamInfo GstDiscovererStreamInfo;
-typedef GstMiniObjectClass GstDiscovererStreamInfoClass;
+typedef GObjectClass GstDiscovererStreamInfoClass;
 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 typedef struct _GstDiscovererContainerInfo GstDiscovererContainerInfo;
-typedef GstMiniObjectClass GstDiscovererContainerInfoClass;
+typedef GObjectClass GstDiscovererContainerInfoClass;
 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 typedef struct _GstDiscovererAudioInfo GstDiscovererAudioInfo;
-typedef GstMiniObjectClass GstDiscovererAudioInfoClass;
+typedef GObjectClass GstDiscovererAudioInfoClass;
 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 typedef struct _GstDiscovererVideoInfo GstDiscovererVideoInfo;
-typedef GstMiniObjectClass GstDiscovererVideoInfoClass;
+typedef GObjectClass GstDiscovererVideoInfoClass;
 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
 namespace Gst
@@ -62,7 +62,7 @@ class TagList;
  */
 class DiscovererInfo : public MiniObject
 {
-  _CLASS_OPAQUE_REFCOUNTED(DiscovererInfo, GstDiscovererInfo, gst_discoverer_info_new, 
gst_discoverer_info_ref, gst_discoverer_info_unref)
+  _CLASS_OPAQUE_REFCOUNTED(DiscovererInfo, GstDiscovererInfo, gst_discoverer_info_new, g_object_ref, 
gst_discoverer_info_unref)
   _IGNORE(gst_discoverer_info_ref, gst_discoverer_info_unref)
   _STRUCT_NOT_HIDDEN
 


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