diff options
author | Jon Trowbridge <trow@ximian.com> | 2004-01-13 17:57:25 +0000 |
---|---|---|
committer | Julien Moutte <julien@moutte.net> | 2004-01-13 17:57:25 +0000 |
commit | 42501950c3b085edd179c260262af071de2b942c (patch) | |
tree | 6c1f8d03348c7bdd2acc3ab2c873d8e71852d127 /gst-libs/gst/colorbalance/colorbalance.h | |
parent | 9d7c30dc8a16274b76714e22bb463525984065f4 (diff) | |
download | gst-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.
Diffstat (limited to 'gst-libs/gst/colorbalance/colorbalance.h')
-rw-r--r-- | gst-libs/gst/colorbalance/colorbalance.h | 8 |
1 files changed, 8 insertions, 0 deletions
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); |