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:
* gst-libs/gst/tag/gsttagmux.c: (plugin_init):
* gst-libs/gst/tag/gsttagmux.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.
This commit is contained in:
Sebastian Dröge 2006-05-30 14:35:18 +00:00 committed by Tim-Philipp Müller
parent e286dcec81
commit b303e8e19e
2 changed files with 16 additions and 0 deletions

View file

@ -1,6 +1,7 @@
/* GStreamer taglib-based muxer base class
* 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
@ -386,3 +387,16 @@ gst_tag_lib_mux_change_state (GstElement * element, GstStateChange transition)
return result;
}
static gboolean
plugin_init (GstPlugin * plugin)
{
return (gst_id3v2_mux_plugin_init (plugin)
&& gst_apev2_mux_plugin_init (plugin));
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"taglib",
"Tag writing plug-in based on taglib",
plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);

View file

@ -63,6 +63,8 @@ struct _GstTagLibMuxClass {
/* Standard function returning type information. */
GType gst_tag_lib_mux_get_type (void);
gboolean gst_apev2_mux_plugin_init (GstPlugin * plugin);
gboolean gst_id3v2_mux_plugin_init (GstPlugin * plugin);
G_END_DECLS