summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2004-01-13 17:57:25 +0000
committerJulien Moutte <julien@moutte.net>2004-01-13 17:57:25 +0000
commit42501950c3b085edd179c260262af071de2b942c (patch)
tree6c1f8d03348c7bdd2acc3ab2c873d8e71852d127
parent9d7c30dc8a16274b76714e22bb463525984065f4 (diff)
downloadgst-plugins-bad-42501950c3b085edd179c260262af071de2b942c.tar.gz
gst-plugins-bad-42501950c3b085edd179c260262af071de2b942c.tar.bz2
gst-plugins-bad-42501950c3b085edd179c260262af071de2b942c.zip
gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the colorbalance interface stating if it is hardware based...
Original commit message from CVS: 2004-01-13 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the colorbalance interface stating if it is hardware based or software based. * gst/videofilter/gstvideobalance.c: (gst_videobalance_planar411): Removing a trailing comma. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get), (gst_xvimagesink_colorbalance_init): Integrating a patch from Jon Trowbridge <trow@ximian.com> querying Xv adaptor for min/max value as the documentation seems to be wrong on the -1000 to 1000 interval.
-rw-r--r--ChangeLog12
m---------common0
-rw-r--r--gst-libs/gst/colorbalance/colorbalance.h8
3 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b354face..21975056 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2004-01-13 Julien MOUTTE <julien@moutte.net>
+
+ * gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the
+ colorbalance interface stating if it is hardware based or software
+ based.
+ * gst/videofilter/gstvideobalance.c: (gst_videobalance_planar411):
+ Removing a trailing comma.
+ * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
+ (gst_xvimagesink_colorbalance_init): Integrating a patch from Jon
+ Trowbridge <trow@ximian.com> querying Xv adaptor for min/max value as
+ the documentation seems to be wrong on the -1000 to 1000 interval.
+
2004-01-12 David Schleef <ds@schleef.org>
* gst/debug/efence.c: (gst_efence_init), (gst_efence_chain),
diff --git a/common b/common
-Subproject cd5507ae3df8dc48c07df9e37878846b6b79faa
+Subproject c81ad072c76522175cbddead96d6f3c448068d6
diff --git a/gst-libs/gst/colorbalance/colorbalance.h b/gst-libs/gst/colorbalance/colorbalance.h
index f4a0d78a..3f365485 100644
--- a/gst-libs/gst/colorbalance/colorbalance.h
+++ b/gst-libs/gst/colorbalance/colorbalance.h
@@ -43,10 +43,18 @@ G_BEGIN_DECLS
(G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_COLOR_BALANCE, GstColorBalanceClass))
typedef struct _GstColorBalance GstColorBalance;
+
+typedef enum
+{
+ GST_COLOR_BALANCE_HARDWARE,
+ GST_COLOR_BALANCE_SOFTWARE
+} GstColorBalanceType;
typedef struct _GstColorBalanceClass {
GTypeInterface klass;
+ GstColorBalanceType balance_type;
+
/* virtual functions */
const GList * (* list_channels) (GstColorBalance *balance);