[gstreamermm] Gst::ColorBalance: review ColorBalance wrapper



commit c8d42bc82806f7775f68609eced3f4355ebf5e8b
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Mon May 16 22:09:37 2016 +0200

    Gst::ColorBalance: review ColorBalance wrapper
    
        * gstreamer/src/colorbalance.{ccg|hg}:
        * gstreamer/src/gst_vfuncs.defs: update documentation, add missing
          virtual method get_balance_type().

 gstreamer/src/colorbalance.ccg |    2 +-
 gstreamer/src/colorbalance.hg  |   15 ++++++++++++++-
 gstreamer/src/gst_vfuncs.defs  |    5 +++++
 3 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/gstreamer/src/colorbalance.ccg b/gstreamer/src/colorbalance.ccg
index ef5722e..6510a25 100644
--- a/gstreamer/src/colorbalance.ccg
+++ b/gstreamer/src/colorbalance.ccg
@@ -1,6 +1,6 @@
 /* gstreamermm - a C++ wrapper for gstreamer
  *
- * Copyright 2008 The gstreamermm Development Team
+ * Copyright 2008-2016 The gstreamermm Development Team
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/gstreamer/src/colorbalance.hg b/gstreamer/src/colorbalance.hg
index 51da503..328c705 100644
--- a/gstreamer/src/colorbalance.hg
+++ b/gstreamer/src/colorbalance.hg
@@ -1,6 +1,6 @@
 /* gstreamermm - a C++ wrapper for gstreamer
  *
- * Copyright 2008 The gstreamermm Development Team
+ * Copyright 2008-2016 The gstreamermm Development Team
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -30,6 +30,15 @@ _WRAP_ENUM(ColorBalanceType, GstColorBalanceType, NO_GTYPE)
 class ColorBalanceChannel;
 
 /** An interface for adjusting color balance settings.
+ *
+ * This interface is implemented by elements which can perform some color balance
+ * operation on video frames they process. For example, modifying the brightness,
+ * contrast, hue or saturation.
+ *
+ * Example elements are 'xvimagesink' and 'colorbalance'.
+ *
+ * Last reviewed on 2016-05-16 (1.8.0)
+ *
  * @ingroup GstInterfaces
  */
 class ColorBalance : public Glib::Interface
@@ -66,6 +75,10 @@ public:
    */
   _WRAP_VFUNC(int get_value(const Glib::RefPtr<const Gst::ColorBalanceChannel>& channel) const, "get_value")
 
+  /** Gets the implementation type.
+   */
+  _WRAP_VFUNC(Gst::ColorBalanceType get_balance_type(), "get_balance_type")
+
 protected:
 #m4begin
   _PUSH(SECTION_PCC_CLASS_INIT_VFUNCS)
diff --git a/gstreamer/src/gst_vfuncs.defs b/gstreamer/src/gst_vfuncs.defs
index f3dcda5..4532af8 100644
--- a/gstreamer/src/gst_vfuncs.defs
+++ b/gstreamer/src/gst_vfuncs.defs
@@ -789,6 +789,11 @@
   )
 )
 
+(define-vfunc get_balance_type
+  (of-object "GstColorBalance")
+  (return-type "GstColorBalanceType")
+)
+
 ; GstElement
 
 (define-vfunc request_new_pad


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