summaryrefslogtreecommitdiffstats
path: root/ext/taglib/gstapev2mux.h
diff options
context:
space:
mode:
authorSebastian Dröge <mail@slomosnail.de>2006-05-30 14:35:18 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-05-30 14:35:18 +0000
commitc121cab661eb9f123cd9deab32609570226a4e0d (patch)
tree6e81fb6d8e9443d3f4a7636b34aa64d3c39904af /ext/taglib/gstapev2mux.h
parent8f1c9746eae406efa1619a890bfc35d96fb485e4 (diff)
Add apev2mux element (#343122).
Original commit message from CVS: Patch by: Sebastian Dröge <mail at slomosnail de > * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * ext/taglib/Makefile.am: * ext/taglib/gstapev2mux.cc: * ext/taglib/gstapev2mux.h: * ext/taglib/gstid3v2mux.cc: * ext/taglib/gsttaglibmux.c: (plugin_init): * ext/taglib/gsttaglibmux.h: Add apev2mux element (#343122). * tests/check/Makefile.am: * tests/check/elements/apev2mux.c: (test_taglib_apev2mux_create_tags), (test_taglib_apev2mux_check_tags), (fill_mp3_buffer), (got_buffer), (demux_pad_added), (test_taglib_apev2mux_check_output_buffer), (test_taglib_apev2mux_with_tags), (GST_START_TEST), (apev2mux_suite), (main): Add unit test for apev2mux element.
Diffstat (limited to 'ext/taglib/gstapev2mux.h')
-rw-r--r--ext/taglib/gstapev2mux.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/ext/taglib/gstapev2mux.h b/ext/taglib/gstapev2mux.h
new file mode 100644
index 00000000..1c05bd47
--- /dev/null
+++ b/ext/taglib/gstapev2mux.h
@@ -0,0 +1,55 @@
+/* GStreamer taglib-based APEv2 muxer
+ * Copyright (C) 2006 Christophe Fergeau <teuf@gnome.org>
+ * Copyright (C) 2006 Tim-Philipp Müller <tim centricular net>
+ * Copyright (C) 2006 Sebastian Dröge <mail@slomosnail.de>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef GST_APEV2_MUX_H
+#define GST_APEV2_MUX_H
+
+#include "gsttaglibmux.h"
+
+G_BEGIN_DECLS
+
+typedef struct _GstApev2Mux GstApev2Mux;
+typedef struct _GstApev2MuxClass GstApev2MuxClass;
+
+typedef struct _GstApev2Mux {
+ GstTagLibMux taglibmux;
+};
+
+typedef struct _GstApev2MuxClass {
+ GstTagLibMuxClass taglibmux_class;
+};
+
+#define GST_TYPE_APEV2_MUX \
+ (gst_apev2_mux_get_type())
+#define GST_APEV2_MUX(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_APEV2_MUX,GstApev2Mux))
+#define GST_APEV2_MUX_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_APEV2_MUX,GstApev2MuxClass))
+#define GST_IS_APEV2_MUX(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_APEV2_MUX))
+#define GST_IS_APEV2_MUX_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_APEV2_MUX))
+
+GType gst_apev2_mux_get_type (void);
+
+G_END_DECLS
+
+#endif /* GST_APEV2_MUX_H */