summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflacenc.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-10-02 15:33:14 +0000
committerAndy Wingo <wingo@pobox.com>2005-10-02 15:33:14 +0000
commit94bcb7452db28b8559cd01cd9517395ab760cce7 (patch)
treeab5fc3759c27e82fb95cfe9cd68cde087a6e0cc9 /ext/flac/gstflacenc.h
parent75a0669d5f145926e0a246cf12695ca59485a762 (diff)
configure.ac (GST_PLUGIN_LDFLAGS): Change to be like -base.
Original commit message from CVS: 2005-10-02 Andy Wingo <wingo@pobox.com> * configure.ac (GST_PLUGIN_LDFLAGS): Change to be like -base. * ext/flac/gstflacenc.c: Ported to 0.9. * ext/flac/gstflacdec.c (gst_flacdec_loop): Handle errors better. * ext/flac/Makefile.am: Add the GST_PLUGINS_BASE cflags and libs, and link to gsttagedit. Enable flacenc. * ext/flac/gstflacdec.c: Re-enable tag reading.
Diffstat (limited to 'ext/flac/gstflacenc.h')
-rw-r--r--ext/flac/gstflacenc.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/ext/flac/gstflacenc.h b/ext/flac/gstflacenc.h
index f005f200..82a6cb2c 100644
--- a/ext/flac/gstflacenc.h
+++ b/ext/flac/gstflacenc.h
@@ -26,20 +26,20 @@
#include <FLAC/all.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-#define GST_TYPE_FLACENC flacenc_get_type()
-#define GST_FLACENC(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, GST_TYPE_FLACENC, FlacEnc)
-#define GST_FLACENC_CLASS(klass) G_TYPE_CHECK_CLASS_CAST(klass, GST_TYPE_FLACENC, FlacEnc)
+G_BEGIN_DECLS
+
+
+#define GST_TYPE_FLACENC (gst_flacenc_get_type())
+#define GST_FLACENC(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, GST_TYPE_FLACENC, GstFlacEnc)
+#define GST_FLACENC_CLASS(klass) G_TYPE_CHECK_CLASS_CAST(klass, GST_TYPE_FLACENC, GstFlacEnc)
#define GST_IS_FLACENC(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, GST_TYPE_FLACENC)
#define GST_IS_FLACENC_CLASS(obj) G_TYPE_CHECK_CLASS_TYPE(klass, GST_TYPE_FLACENC)
-typedef struct _FlacEnc FlacEnc;
-typedef struct _FlacEncClass FlacEncClass;
+typedef struct _GstFlacEnc GstFlacEnc;
+typedef struct _GstFlacEncClass GstFlacEncClass;
-struct _FlacEnc {
+struct _GstFlacEnc {
GstElement element;
GstPad *sinkpad,*srcpad;
@@ -62,15 +62,14 @@ struct _FlacEnc {
GstTagList * tags;
};
-struct _FlacEncClass {
+struct _GstFlacEncClass {
GstElementClass parent_class;
};
-GType flacenc_get_type(void);
+GType gst_flacenc_get_type(void);
+
+G_END_DECLS
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
#endif /* __FLACENC_H__ */