diff -r b7f71ba285da -r 59623bb25c17 gmyth-stream/gmemcoder/src/gmencoder.h --- a/gmyth-stream/gmemcoder/src/gmencoder.h Thu Jun 14 18:21:53 2007 +0100 +++ b/gmyth-stream/gmemcoder/src/gmencoder.h Fri Jun 22 16:14:21 2007 +0100 @@ -6,17 +6,17 @@ G_BEGIN_DECLS typedef struct _GMencoder GMencoder; typedef struct _GMencoderClass GMencoderClass; -struct _GMencoderClass -{ - GObjectClass parent_class; +struct _GMencoderClass { + GObjectClass parent_class; }; -struct _GMencoder -{ - GObject parent; +struct _GMencoder { + GObject parent; }; -/* TYPE MACROS */ +/* + * TYPE MACROS + */ #define G_TYPE_MENCODER \ (g_mencoder_get_type()) #define G_MENCODER(obj) \ @@ -31,28 +31,29 @@ (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_MENCODER, GMencoderClass)) -GType g_mencoder_get_type(void); -GMencoder *g_mencoder_new(void); +GType g_mencoder_get_type(void); +GMencoder *g_mencoder_new(void); -void g_mencoder_setup_stream(GMencoder * self, - const gchar * mux_name, - const gchar * video_encode, - gchar ** video_encode_prop, - gdouble video_fps, - gdouble video_rate, - guint video_width, - guint video_height, - const gchar * audio_encode, - gchar ** audio_encode_prop, - guint audio_rate, const gchar * output_uri); +void g_mencoder_setup_stream(GMencoder * self, + const gchar * mux_name, + const gchar * video_encode, + gchar ** video_encode_prop, + gdouble video_fps, + gdouble video_rate, + guint video_width, + guint video_height, + const gchar * audio_encode, + gchar ** audio_encode_prop, + guint audio_rate, + const gchar * output_uri); -gboolean g_mencoder_append_uri(GMencoder * self, const gchar * uri); +gboolean g_mencoder_append_uri(GMencoder * self, const gchar * uri); -void g_mencoder_remove_uri(GMencoder * self, const gchar * uri); +void g_mencoder_remove_uri(GMencoder * self, const gchar * uri); -void g_mencoder_play_stream(GMencoder * self); -void g_mencoder_pause_stream(GMencoder * self); -void g_mencoder_close_stream(GMencoder * self); +void g_mencoder_play_stream(GMencoder * self); +void g_mencoder_pause_stream(GMencoder * self); +void g_mencoder_close_stream(GMencoder * self); G_END_DECLS #endif