summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-12-22 12:00:10 +0100
committerSebastian Dröge <sebastian@centricular.com>2015-12-22 12:03:26 +0100
commit440dff502d9190d4579f3ee978081dd31b7f3fa5 (patch)
tree1fb6d440edb9adcccb8cb8c4f2c0a5221a9c12e2
parent5cb6e221ab81f9eb6339f7cd5bacc761f897afa1 (diff)
player: Re-indent and clean up main header
-rw-r--r--lib/gst/player/gstplayer.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/lib/gst/player/gstplayer.h b/lib/gst/player/gstplayer.h
index 9d71877..29287bd 100644
--- a/lib/gst/player/gstplayer.h
+++ b/lib/gst/player/gstplayer.h
@@ -65,6 +65,27 @@ typedef enum {
const gchar *gst_player_error_get_name (GstPlayerError error);
+GType gst_player_color_balance_type_get_type (void);
+#define GST_TYPE_PLAYER_COLOR_BALANCE_TYPE (gst_player_color_balance_type_get_type ())
+
+/**
+ * GstPlayerColorBalanceType:
+ * @GST_PLAYER_COLOR_BALANCE_BRIGHTNESS: brightness or black level.
+ * @GST_PLAYER_COLOR_BALANCE_CONTRAST: contrast or luma gain.
+ * @GST_PLAYER_COLOR_BALANCE_SATURATION: color saturation or chroma
+ * gain.
+ * @GST_PLAYER_COLOR_BALANCE_HUE: hue or color balance.
+ */
+typedef enum
+{
+ GST_PLAYER_COLOR_BALANCE_BRIGHTNESS,
+ GST_PLAYER_COLOR_BALANCE_CONTRAST,
+ GST_PLAYER_COLOR_BALANCE_SATURATION,
+ GST_PLAYER_COLOR_BALANCE_HUE,
+} GstPlayerColorBalanceType;
+
+const gchar *gst_player_color_balance_type_get_name (GstPlayerColorBalanceType type);
+
#define GST_TYPE_PLAYER (gst_player_get_type ())
#define GST_IS_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_PLAYER))
#define GST_IS_PLAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_PLAYER))
@@ -151,33 +172,12 @@ void gst_player_set_visualization_enabled (GstPlayer * player,
gchar * gst_player_get_current_visualization (GstPlayer * player);
-#define GST_TYPE_PLAYER_COLOR_BALANCE_TYPE (gst_player_color_balance_type_get_type ())
-GType gst_player_color_balance_type_get_type (void);
-
-/**
- * GstPlayerColorBalanceType:
- * @GST_PLAYER_COLOR_BALANCE_BRIGHTNESS: brightness or black level.
- * @GST_PLAYER_COLOR_BALANCE_CONTRAST: contrast or luma gain.
- * @GST_PLAYER_COLOR_BALANCE_SATURATION: color saturation or chroma
- * gain.
- * @GST_PLAYER_COLOR_BALANCE_HUE: hue or color balance.
- */
-typedef enum
-{
- GST_PLAYER_COLOR_BALANCE_BRIGHTNESS,
- GST_PLAYER_COLOR_BALANCE_CONTRAST,
- GST_PLAYER_COLOR_BALANCE_SATURATION,
- GST_PLAYER_COLOR_BALANCE_HUE,
-} GstPlayerColorBalanceType;
-
-const gchar *gst_player_color_balance_type_get_name (GstPlayerColorBalanceType type);
-
-gboolean gst_player_has_color_balance (GstPlayer * player);
-void gst_player_set_color_balance (GstPlayer * player,
- GstPlayerColorBalanceType type,
- gdouble value);
-gdouble gst_player_get_color_balance (GstPlayer * player,
- GstPlayerColorBalanceType type);
+gboolean gst_player_has_color_balance (GstPlayer * player);
+void gst_player_set_color_balance (GstPlayer * player,
+ GstPlayerColorBalanceType type,
+ gdouble value);
+gdouble gst_player_get_color_balance (GstPlayer * player,
+ GstPlayerColorBalanceType type);
G_END_DECLS