1.1 --- a/gmyth-stream/gmemcoder/src/gmencoder.h Tue May 01 22:45:58 2007 +0100
1.2 +++ b/gmyth-stream/gmemcoder/src/gmencoder.h Thu Jun 14 18:19:52 2007 +0100
1.3 @@ -9,11 +9,11 @@
1.4 typedef struct _GMencoderClass GMencoderClass;
1.5
1.6 struct _GMencoderClass {
1.7 - GObjectClass parent_class;
1.8 + GObjectClass parent_class;
1.9 };
1.10
1.11 struct _GMencoder {
1.12 - GObject parent;
1.13 + GObject parent;
1.14 };
1.15
1.16 /* TYPE MACROS */
1.17 @@ -31,26 +31,30 @@
1.18 (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_MENCODER, GMencoderClass))
1.19
1.20
1.21 -GType g_mencoder_get_type (void);
1.22 +GType g_mencoder_get_type (void);
1.23 GMencoder* g_mencoder_new (void);
1.24 -void g_mencoder_setup_stream (GMencoder *self,
1.25 +
1.26 +void g_mencoder_setup_stream (GMencoder *self,
1.27 const gchar* mux_name,
1.28 const gchar* video_encode,
1.29 gchar** video_encode_prop,
1.30 gdouble video_fps,
1.31 gdouble video_rate,
1.32 - guint video_width,
1.33 + guint video_width,
1.34 guint video_height,
1.35 const gchar* audio_encode,
1.36 gchar** audio_encode_prop,
1.37 guint audio_rate,
1.38 const gchar* output_uri);
1.39 +
1.40 gboolean g_mencoder_append_uri (GMencoder *self,
1.41 const gchar* uri);
1.42 +
1.43 void g_mencoder_remove_uri (GMencoder *self,
1.44 const gchar* uri);
1.45 -void g_mencoder_play_stream (GMencoder *self);
1.46 -void g_mencoder_pause_stream (GMencoder *self);
1.47 +
1.48 +void g_mencoder_play_stream (GMencoder *self);
1.49 +void g_mencoder_pause_stream (GMencoder *self);
1.50 void g_mencoder_close_stream (GMencoder *self);
1.51
1.52 G_END_DECLS