[svn r593] Fixed internal reference to gmyth.h. We can not include this header in src/gmyth_* files. Also fixed gmyth_debug link error. In the current implementation we need to include gmyth_debug.h in all files using gmyth_debug(), otherwise we will get library linking error
1 #ifndef __G_MENCODER_H__
2 #define __G_MENCODER_H__
4 #include <glib-object.h>
8 typedef struct _GMencoder GMencoder;
9 typedef struct _GMencoderClass GMencoderClass;
11 struct _GMencoderClass {
12 GObjectClass parent_class;
20 #define G_TYPE_MENCODER \
21 (g_mencoder_get_type())
22 #define G_MENCODER(obj) \
23 (G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_MENCODER, GMencoder))
24 #define G_MENCODER_CLASS(klass) \
25 (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_MENCODER, GMencoderClass))
26 #define G_IS_MENCODER(obj) \
27 (G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_MENCODER))
28 #define G_IS_MENCODER_CLASS(klass) \
29 (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_MENCODER))
30 #define G_MENCODER_GET_CLASS(obj) \
31 (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_MENCODER, GMencoderClass))
34 GType g_mencoder_get_type (void);
35 GMencoder* g_mencoder_new (void);
36 gboolean g_mencoder_setup_stream (GMencoder *self,
38 guint width, guint height,
40 gboolean g_mencoder_play_stream (GMencoder *self);
41 gboolean g_mencoder_pause_stream (GMencoder *self);
42 void g_mencoder_close_stream (GMencoder *self);