gmyth-stream/gmemcoder/src/gmencoder.h
branchtrunk
changeset 756 59623bb25c17
parent 752 b7f71ba285da
child 757 d03fc6221891
     1.1 --- a/gmyth-stream/gmemcoder/src/gmencoder.h	Thu Jun 14 18:21:53 2007 +0100
     1.2 +++ b/gmyth-stream/gmemcoder/src/gmencoder.h	Fri Jun 22 16:14:21 2007 +0100
     1.3 @@ -6,17 +6,17 @@
     1.4  G_BEGIN_DECLS typedef struct _GMencoder GMencoder;
     1.5  typedef struct _GMencoderClass GMencoderClass;
     1.6  
     1.7 -struct _GMencoderClass
     1.8 -{
     1.9 -  GObjectClass parent_class;
    1.10 +struct _GMencoderClass {
    1.11 +    GObjectClass    parent_class;
    1.12  };
    1.13  
    1.14 -struct _GMencoder
    1.15 -{
    1.16 -  GObject parent;
    1.17 +struct _GMencoder {
    1.18 +    GObject         parent;
    1.19  };
    1.20  
    1.21 -/* TYPE MACROS */
    1.22 +/*
    1.23 + * TYPE MACROS 
    1.24 + */
    1.25  #define G_TYPE_MENCODER \
    1.26    (g_mencoder_get_type())
    1.27  #define G_MENCODER(obj) \
    1.28 @@ -31,28 +31,29 @@
    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, const gchar * output_uri);
    1.48 +void            g_mencoder_setup_stream(GMencoder * self,
    1.49 +                                        const gchar * mux_name,
    1.50 +                                        const gchar * video_encode,
    1.51 +                                        gchar ** video_encode_prop,
    1.52 +                                        gdouble video_fps,
    1.53 +                                        gdouble video_rate,
    1.54 +                                        guint video_width,
    1.55 +                                        guint video_height,
    1.56 +                                        const gchar * audio_encode,
    1.57 +                                        gchar ** audio_encode_prop,
    1.58 +                                        guint audio_rate,
    1.59 +                                        const gchar * output_uri);
    1.60  
    1.61 -gboolean g_mencoder_append_uri(GMencoder * self, const gchar * uri);
    1.62 +gboolean        g_mencoder_append_uri(GMencoder * self, const gchar * uri);
    1.63  
    1.64 -void g_mencoder_remove_uri(GMencoder * self, const gchar * uri);
    1.65 +void            g_mencoder_remove_uri(GMencoder * self, const gchar * uri);
    1.66  
    1.67 -void g_mencoder_play_stream(GMencoder * self);
    1.68 -void g_mencoder_pause_stream(GMencoder * self);
    1.69 -void g_mencoder_close_stream(GMencoder * self);
    1.70 +void            g_mencoder_play_stream(GMencoder * self);
    1.71 +void            g_mencoder_pause_stream(GMencoder * self);
    1.72 +void            g_mencoder_close_stream(GMencoder * self);
    1.73  
    1.74  G_END_DECLS
    1.75  #endif