gmyth-stream/gmemcoder/src/gmencoder.h
branchtrunk
changeset 753 8ee634511c1e
parent 748 bf9dac4bdc5d
child 754 cb885ee44618
     1.1 --- a/gmyth-stream/gmemcoder/src/gmencoder.h	Tue Jun 12 22:13:46 2007 +0100
     1.2 +++ b/gmyth-stream/gmemcoder/src/gmencoder.h	Thu Jun 14 18:22:32 2007 +0100
     1.3 @@ -3,17 +3,17 @@
     1.4  
     1.5  #include <glib-object.h>
     1.6  
     1.7 -G_BEGIN_DECLS
     1.8 -
     1.9 -typedef struct _GMencoder GMencoder;
    1.10 +G_BEGIN_DECLS typedef struct _GMencoder GMencoder;
    1.11  typedef struct _GMencoderClass GMencoderClass;
    1.12  
    1.13 -struct _GMencoderClass {
    1.14 -    GObjectClass parent_class;
    1.15 +struct _GMencoderClass
    1.16 +{
    1.17 +  GObjectClass parent_class;
    1.18  };
    1.19  
    1.20 -struct _GMencoder {
    1.21 -    GObject parent;
    1.22 +struct _GMencoder
    1.23 +{
    1.24 +  GObject parent;
    1.25  };
    1.26  
    1.27  /* TYPE MACROS */
    1.28 @@ -31,32 +31,28 @@
    1.29    (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_MENCODER, GMencoderClass))
    1.30  
    1.31  
    1.32 -GType 	    g_mencoder_get_type 	(void);
    1.33 -GMencoder*  g_mencoder_new              (void);
    1.34 +GType g_mencoder_get_type(void);
    1.35 +GMencoder *g_mencoder_new(void);
    1.36  
    1.37 -void        g_mencoder_setup_stream     (GMencoder *self,
    1.38 -                                         const gchar* mux_name,
    1.39 -                                         const gchar* video_encode,
    1.40 -                                         gchar** video_encode_prop,
    1.41 -                                         gdouble video_fps,
    1.42 -                                         gdouble video_rate,
    1.43 -                                         guint video_width,
    1.44 -                                         guint video_height,
    1.45 -                                         const gchar* audio_encode,
    1.46 -                                         gchar** audio_encode_prop,
    1.47 -                                         guint audio_rate,
    1.48 -                                         const gchar* output_uri);
    1.49 +void g_mencoder_setup_stream(GMencoder * self,
    1.50 +							 const gchar * mux_name,
    1.51 +							 const gchar * video_encode,
    1.52 +							 gchar ** video_encode_prop,
    1.53 +							 gdouble video_fps,
    1.54 +							 gdouble video_rate,
    1.55 +							 guint video_width,
    1.56 +							 guint video_height,
    1.57 +							 const gchar * audio_encode,
    1.58 +							 gchar ** audio_encode_prop,
    1.59 +							 guint audio_rate, const gchar * output_uri);
    1.60  
    1.61 -gboolean    g_mencoder_append_uri       (GMencoder *self,
    1.62 -                                         const gchar* uri);
    1.63 +gboolean g_mencoder_append_uri(GMencoder * self, const gchar * uri);
    1.64  
    1.65 -void        g_mencoder_remove_uri       (GMencoder *self,
    1.66 -                                         const gchar* uri);
    1.67 +void g_mencoder_remove_uri(GMencoder * self, const gchar * uri);
    1.68  
    1.69 -void        g_mencoder_play_stream      (GMencoder *self);
    1.70 -void   	    g_mencoder_pause_stream 	(GMencoder *self);
    1.71 -void        g_mencoder_close_stream 	(GMencoder *self);
    1.72 +void g_mencoder_play_stream(GMencoder * self);
    1.73 +void g_mencoder_pause_stream(GMencoder * self);
    1.74 +void g_mencoder_close_stream(GMencoder * self);
    1.75  
    1.76  G_END_DECLS
    1.77 -
    1.78  #endif