diff -r 176270f861b4 -r 312d6bc514f3 gmyth-stream/gmemcoder/src/gmencoder.h --- a/gmyth-stream/gmemcoder/src/gmencoder.h Tue May 01 22:45:58 2007 +0100 +++ b/gmyth-stream/gmemcoder/src/gmencoder.h Thu Jun 14 18:19:52 2007 +0100 @@ -9,11 +9,11 @@ typedef struct _GMencoderClass GMencoderClass; struct _GMencoderClass { - GObjectClass parent_class; + GObjectClass parent_class; }; struct _GMencoder { - GObject parent; + GObject parent; }; /* TYPE MACROS */ @@ -31,26 +31,30 @@ (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_MENCODER, GMencoderClass)) -GType g_mencoder_get_type (void); +GType g_mencoder_get_type (void); GMencoder* g_mencoder_new (void); -void g_mencoder_setup_stream (GMencoder *self, + +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_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); + 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_play_stream (GMencoder *self); +void g_mencoder_pause_stream (GMencoder *self); void g_mencoder_close_stream (GMencoder *self); G_END_DECLS