add taglib checks and docs

Original commit message from CVS:
add taglib checks and docs
parent 3bf58dfa
2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
* sys/dxr3/ac3_padder.h:
fix up doc strings
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-decl-list.txt:
* docs/plugins/gst-plugins-bad-plugins-decl.txt:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins-undocumented.txt:
* docs/plugins/inspect/plugin-qtdemux.xml:
* docs/plugins/inspect/plugin-speed.xml:
* docs/plugins/inspect/plugin-taglib.xml:
* docs/plugins/inspect/plugin-tta.xml:
commit updates
* configure.ac:
* ext/taglib/gsttaglib.cc:
* tests/Makefile.am:
* tests/check/.cvsignore:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/tagid3v2mux.c:
(test_taglib_id3mux_create_tags), (test_taglib_id3mux_check_tags),
(fill_mp3_buffer), (got_buffer), (demux_pad_added),
(test_taglib_id3mux_check_output_buffer),
(test_taglib_id3mux_with_tags), (GST_START_TEST),
(tagid3v2mux_suite), (main):
add the tagid3v2mux check from #336110
2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
......
......@@ -121,6 +121,11 @@ dnl *** checks for programs ***
dnl find a compiler
AC_PROG_CC
dnl determine c++ compiler
AC_PROG_CXX
dnl determine if c++ is available on this system
AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no)
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
......@@ -157,6 +162,9 @@ AM_PATH_CHECK(0.9.2, HAVE_CHECK=yes, HAVE_CHECK=no)
AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
GST_CHECK_GST_PLUGINS_BASE($GST_MAJORMINOR, [$GSTPB_REQ], no)
GSTPB_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_MAJORMINOR --variable pluginsdir`
AC_SUBST(GSTPB_PLUGINS_DIR)
AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR)
dnl set license and copyright notice
GST_LICENSE="LGPL"
......@@ -697,6 +705,7 @@ common/Makefile
common/m4/Makefile
m4/Makefile
tests/Makefile
tests/check/Makefile
tests/icles/Makefile
)
AC_OUTPUT
......
......@@ -58,7 +58,7 @@ MKDB_OPTIONS=--sgml-mode
# Used for dependencies.
HFILE_GLOB=$(DOC_SOURCE_DIR)/*/*/*.h
CFILE_GLOB=$(DOC_SOURCE_DIR)/*/*/*.c
CFILE_GLOB=$(DOC_SOURCE_DIR)/*/*/*.c $(DOC_SOURCE_DIR)/*/*/*.cc
# this is a wingo addition
# thomasvs: another nice wingo addition would be an explanation on why
......@@ -86,7 +86,8 @@ EXAMPLE_CFILES = \
$(top_srcdir)/ext/directfb/dfb-example.c
EXTRA_HFILES = \
$(top_srcdir)/ext/directfb/dfbvideosink.h
$(top_srcdir)/ext/directfb/dfbvideosink.h \
$(top_srcdir)/ext/taglib/gsttaglib.h
# Images to copy into HTML directory.
HTML_IMAGES =
......
......@@ -16,3 +16,16 @@ GST_DFBVIDEOSINK_CLASS
GST_IS_DFBVIDEOSINK_CLASS
</SECTION>
<SECTION>
<FILE>gsttaglib</FILE>
GstTagLibMuxPriv
<TITLE>GstTagLibMux</TITLE>
<SUBSECTION Standard>
GST_TAGLIB_MUX
GST_IS_TAGLIB_MUX
GST_TYPE_TAGLIB_MUX
gst_tag_lib_mux_get_type
GST_TAGLIB_MUX_CLASS
GST_IS_TAGLIB_MUX_CLASS
</SECTION>
......@@ -133,3 +133,56 @@ void
<RETURNS>GType </RETURNS>
void
</FUNCTION>
<STRUCT>
<NAME>GstTagLibMuxPriv</NAME>
</STRUCT>
<STRUCT>
<NAME>GstTagLibMux</NAME>
typedef struct _GstTagLibMux {
GstElement element;
GstPad *srcpad;
GstPad *sinkpad;
GstTagList *event_tags; /* tags received from upstream elements */
gsize tag_size;
gboolean render_tag;
GstEvent *newsegment_ev; /* cached newsegment event from upstream */
} GstTagLibMux;
</STRUCT>
<STRUCT>
<NAME>GstTagLibMuxClass</NAME>
typedef struct _GstTagLibMuxClass {
GstElementClass parent_class;
} GstTagLibMuxClass;
</STRUCT>
<MACRO>
<NAME>GST_TYPE_TAGLIB_MUX</NAME>
#define GST_TYPE_TAGLIB_MUX \
(gst_tag_lib_mux_get_type())
</MACRO>
<MACRO>
<NAME>GST_TAGLIB_MUX</NAME>
#define GST_TAGLIB_MUX(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TAGLIB_MUX,GstTagLibMux))
</MACRO>
<MACRO>
<NAME>GST_TAGLIB_MUX_CLASS</NAME>
#define GST_TAGLIB_MUX_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TAGLIB_MUX,GstTagLibMuxClass))
</MACRO>
<MACRO>
<NAME>GST_IS_TAGLIB_MUX</NAME>
#define GST_IS_TAGLIB_MUX(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TAGLIB_MUX))
</MACRO>
<MACRO>
<NAME>GST_IS_TAGLIB_MUX_CLASS</NAME>
#define GST_IS_TAGLIB_MUX_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TAGLIB_MUX))
</MACRO>
<FUNCTION>
<NAME>gst_tag_lib_mux_get_type</NAME>
<RETURNS>GType </RETURNS>
void
</FUNCTION>
......@@ -14,6 +14,7 @@
<title>gst-plugins-bad Elements</title>
<xi:include href="xml/element-dfbvideosink.xml" />
<xi:include href="xml/element-tagid3v2mux.xml" />
</chapter>
<chapter>
......@@ -25,6 +26,7 @@
<xi:include href="xml/plugin-qtdemux.xml" />
<xi:include href="xml/plugin-sdlvideosink.xml" />
<xi:include href="xml/plugin-speed.xml" />
<xi:include href="xml/plugin-taglib.xml" />
<xi:include href="xml/plugin-tta.xml" />
</chapter>
......
......@@ -6,3 +6,11 @@ GstDfbVideoSink
GstDfbVideoSinkClass
</SECTION>
<SECTION>
<FILE>element-tagid3v2mux</FILE>
GstTagLibMux
<TITLE>tagid3v2mux</TITLE>
<SUBSECTION Standard>
GstTagLibMuxClass
</SECTION>
100% symbol docs coverage.
9 symbols documented.
92% symbol docs coverage.
11 symbols documented.
0 symbols incomplete.
0 not documented.
1 not documented.
GstTagLibMux
......@@ -3,10 +3,10 @@
<description>Quicktime stream demuxer</description>
<filename>../../gst/qtdemux/.libs/libgstqtdemux.so</filename>
<basename>libgstqtdemux.so</basename>
<version>0.10.1</version>
<version>0.10.1.1</version>
<license>LGPL</license>
<source>gst-plugins-bad</source>
<package>GStreamer source release</package>
<package>GStreamer CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org/</origin>
<elements>
<element>
......
......@@ -3,10 +3,10 @@
<description>Set speed/pitch on audio/raw streams (resampler)</description>
<filename>../../gst/speed/.libs/libgstspeed.so</filename>
<basename>libgstspeed.so</basename>
<version>0.10.1</version>
<version>0.10.1.1</version>
<license>LGPL</license>
<source>gst-plugins-bad</source>
<package>GStreamer source release</package>
<package>GStreamer CVS/prerelease</package>
<origin>http://gstreamer.freedesktop.org/</origin>
<elements>
<element>
......
<plugin>
<name>taglib</name>
<description>Tag-writing plug-in based on taglib</description>
<filename>../../ext/taglib/.libs/libgsttaglib.so</filename>
<basename>libgsttaglib.so</basename>
<version>0.10.2.1</version>
<license>LGPL</license>
<source>gst-plugins-bad</source>
<package>GStreamer Bad Plug-ins CVS/prerelease</package>
<origin>Unknown package origin</origin>
<elements>
<element>
<name>tagid3v2mux</name>
<longname>TagLib ID3v2 Muxer</longname>
<class>Formatter/Metadata</class>
<description>Adds an ID3v2 header to the beginning of MP3 files</description>
<author>Christophe Fergeau &lt;teuf@gnome.org&gt;</author>
</element>
</elements>
</plugin>
\ No newline at end of file
......@@ -3,7 +3,7 @@
<description>TTA lossless audio format handling</description>
<filename>../../gst/tta/.libs/libgsttta.so</filename>
<basename>libgsttta.so</basename>
<version>0.10.1</version>
<version>0.10.1.1</version>
<license>LGPL</license>
<source>gst-plugins-bad</source>
<package>gst-tta</package>
......
......@@ -62,7 +62,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_tag_lib_mux_debug);
#define GST_CAT_DEFAULT gst_tag_lib_mux_debug
static const GstElementDetails gst_tag_lib_mux_details =
GST_ELEMENT_DETAILS ("TagLib ID3 Muxer",
GST_ELEMENT_DETAILS ("TagLib ID3v2 Muxer",
"Formatter/Metadata",
"Adds an ID3v2 header to the beginning of MP3 files",
"Christophe Fergeau <teuf@gnome.org>");
......@@ -640,4 +640,4 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"taglib",
"Tag-writing plug-in based on taglib",
plugin_init, VERSION, "LGPL", GST_PACKAGE, GST_ORIGIN)
plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
/* GStreamer
* Copyright (C) 2003 Martin Soto <martinsoto@users.sourceforge.net>
*
* ac3_padder.h: Pad AC3 frames for use with an SPDIF interface.
* ac3_padder.h: Pad AC3 frames for use with an SPDIF interface.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
......@@ -109,7 +109,7 @@ extern int
ac3p_parse(ac3_padder *padder);
/**
/*
* ac3p_frame
* @padder The padder structure.
*
......@@ -117,7 +117,7 @@ ac3p_parse(ac3_padder *padder);
*/
#define ac3p_frame(padder) ((guint *) &((padder)->frame))
/**
/*
* ac3p_frame_size
* @padder The padder structure.
*
......
if HAVE_CHECK
SUBDIRS_CHECK = check
else
SUBDIRS_CHECK =
endif
if USE_X
SUBDIRS_ICLES = icles
else
......@@ -5,7 +11,9 @@ SUBDIRS_ICLES =
endif
SUBDIRS = \
$(SUBDIRS_CHECK) \
$(SUBDIRS_ICLES)
DIST_SUBDIRS = \
check \
icles
test-registry.xml
include $(top_srcdir)/common/check.mak
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml
GST_TOOLS_DIR = $(top_builddir)/tools
REGISTRY_ENVIRONMENT = \
GST_REGISTRY=$(CHECK_REGISTRY)
# FIXME: the PLUGIN_PATH has a hack to reach good for now
# decide if it's worth it to add a .pc file for this, plus a dependancy on it
TESTS_ENVIRONMENT = \
$(REGISTRY_ENVIRONMENT) \
GST_PLUGIN_SYSTEM_PATH= \
GST_PLUGIN_PATH=$(top_builddir)/ext:$(GSTPB_PLUGINS_DIR)/../gst-plugins-good:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR)
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
# override to _not_ install the test plugins
install-pluginLTLIBRARIES:
# the core dumps of some machines have PIDs appended
CLEANFILES = core.* test-registry.xml
SUPPRESSIONS = $(top_srcdir)/common/gst.supp
clean-local: clean-local-check
check_PROGRAMS = \
elements/tagid3v2mux
TESTS = $(check_PROGRAMS)
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment