[gstreamermm] a few minors



commit 7d03a5d5bead9c9a16252952e32a32fdd3981136
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Tue Aug 25 22:27:03 2015 +0000

    a few minors
    
        * gstreamer/src/allocator.hg: ignore some methods.
        * gstreamer/src/audiobasesink.ccg: fix include directives.
        * gstreamer/src/gst_extra_objects.defs: add videoframe class to
          extra-objects list.
        * gstreamer/src/urihandler.hg: wrap_vfunc macro call fix.
        * gstreamer/src/videochroma.hg: move wrap_method macro call into a
          class definition.

 gstreamer/src/allocator.hg           |    2 +-
 gstreamer/src/audiobasesink.ccg      |    2 +-
 gstreamer/src/gst_extra_objects.defs |    4 ++++
 gstreamer/src/urihandler.hg          |    2 +-
 gstreamer/src/videochroma.hg         |    4 ++--
 5 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/gstreamer/src/allocator.hg b/gstreamer/src/allocator.hg
index 6bf7e03..1656315 100644
--- a/gstreamer/src/allocator.hg
+++ b/gstreamer/src/allocator.hg
@@ -29,7 +29,7 @@ namespace Gst
 class AllocationParams
 {
   _CLASS_BOXEDTYPE(AllocationParams, GstAllocationParams, NONE, gst_allocation_params_copy, 
gst_allocation_params_free)
-
+  _IGNORE(gst_allocation_params_copy, gst_allocation_params_free)
 public:
   _CUSTOM_DEFAULT_CTOR
 
diff --git a/gstreamer/src/audiobasesink.ccg b/gstreamer/src/audiobasesink.ccg
index c18ad71..82d69fb 100644
--- a/gstreamer/src/audiobasesink.ccg
+++ b/gstreamer/src/audiobasesink.ccg
@@ -17,5 +17,5 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-#include <gst/audio/audio.h>
+#include <gstreamermm/audiobasesink.h>
 #include <gstreamermm/audioringbuffer.h>
diff --git a/gstreamer/src/gst_extra_objects.defs b/gstreamer/src/gst_extra_objects.defs
index 1d95a9f..3d62e97 100644
--- a/gstreamer/src/gst_extra_objects.defs
+++ b/gstreamer/src/gst_extra_objects.defs
@@ -68,3 +68,7 @@
   (gtype-id "GST_TYPE_STATIC_PAD_TEMPLATE")
 )
 
+(define-object VideoFrame
+  (in-module "Gst")
+  (c-name "GstVideoFrame")
+)
diff --git a/gstreamer/src/urihandler.hg b/gstreamer/src/urihandler.hg
index 0530600..17fcd90 100644
--- a/gstreamer/src/urihandler.hg
+++ b/gstreamer/src/urihandler.hg
@@ -75,7 +75,7 @@ public:
 
   /** Virtual method which should be implemented to set a new URI.
    */
-  _WRAP_VFUNC(bool set_uri(const Glib::ustring& uri, GError** error), "set_uri)
+  _WRAP_VFUNC(bool set_uri(const Glib::ustring& uri, GError** error), "set_uri")
 
   /**
    * Method to return the list of protocols handled by the element.
diff --git a/gstreamer/src/videochroma.hg b/gstreamer/src/videochroma.hg
index 9a9c438..fcdef38 100644
--- a/gstreamer/src/videochroma.hg
+++ b/gstreamer/src/videochroma.hg
@@ -26,8 +26,6 @@ namespace Gst
   _WRAP_ENUM(VideoChromaSite, GstVideoChromaSite)
   _WRAP_ENUM(VideoChromaMethod, GstVideoChromaMethod)
   _WRAP_ENUM(VideoChromaFlags, GstVideoChromaFlags)
-  
-  _WRAP_METHOD(void get_info(guint& n_lines, gint& offset) const, gst_video_chroma_resample_get_info)
 }
 
 #include <gstreamermm/videoformat.h>
@@ -66,6 +64,8 @@ public:
   GstVideoChromaResample*       gobj()       { return gobject_; }
   const GstVideoChromaResample* gobj() const { return gobject_; }
 
+  _WRAP_METHOD(void get_info(guint& n_lines, gint& offset) const, gst_video_chroma_resample_get_info)
+
 protected:
   GstVideoChromaResample* gobject_;
 };


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