+2006-05-01 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * docs/plugins/Makefile.am:
+ also check .cc files for gtk-doc markup
+ * configure.ac:
+ * docs/plugins/gst-plugins-good-plugins-docs.sgml:
+ * docs/plugins/gst-plugins-good-plugins-sections.txt:
+ * tests/check/Makefile.am:
+ * tests/check/elements/id3v2mux.c: (id3v2mux_suite), (main):
+ * ext/Makefile.am:
+ * ext/taglib/Makefile.am:
+ * ext/taglib/gstid3v2mux.h:
+ * ext/taglib/gsttaglibmux.c:
+ * ext/taglib/gsttaglibmux.h:
+ move taglib-based id3v2muxer to -good. Fixes #336110.
+
2006-04-29 Tim-Philipp Müller <tim at centricular dot net>
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers):
])
])
+dnl *** taglib ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_TAGLIB, true)
+GST_CHECK_FEATURE(TAGLIB, [taglib ID3v2 tag writer], taglib, [
+ PKG_CHECK_MODULES(TAGLIB, taglib >= 1.4, HAVE_TAGLIB="yes", [
+ HAVE_TAGLIB="no"
+ AC_MSG_RESULT(no)
+ ])
+ AC_SUBST(TAGLIB_CFLAGS)
+ AC_SUBST(TAGLIB_LIBS)
+ if test "x$HAVE_CXX" != "xyes"; then
+ USE_TAGLIB=false
+ AC_MSG_NOTICE([Not building taglib plugin: no C++ compiler found])
+ fi
+])
+
dnl *** id3demux prefers to have zlib ***
translit(dnm, m, l) AM_CONDITIONAL(USE_ZLIB, true)
GST_CHECK_FEATURE(ZLIB, [zlib support for id3demux],, [
ext/raw1394/Makefile
ext/shout2/Makefile
ext/speex/Makefile
+ext/taglib/Makefile
sys/Makefile
sys/oss/Makefile
sys/sunaudio/Makefile
SCAN_OPTIONS=
# Extra options to supply to gtkdoc-mkdb.
-MKDB_OPTIONS=--sgml-mode
+MKDB_OPTIONS=--sgml-mode --source-suffixes=c,h,cc
# Extra options to supply to gtkdoc-fixref.
# FIXME get the location of the installed gstreamer docs
# 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
$(top_srcdir)/ext/jpeg/gstjpegenc.h \
$(top_srcdir)/ext/jpeg/gstsmokedec.h \
$(top_srcdir)/ext/jpeg/gstsmokeenc.h \
+ $(top_srcdir)/ext/taglib/gsttaglibmux.h \
+ $(top_srcdir)/ext/taglib/gstid3v2mux.h \
$(top_srcdir)/gst/multipart/multipartmux.c \
$(top_srcdir)/gst/multipart/multipartdemux.c \
$(top_srcdir)/gst/udp/gstudpsrc.h \
<xi:include href="xml/element-halaudiosink.xml" />
<xi:include href="xml/element-halaudiosrc.xml" />
<xi:include href="xml/element-id3demux.xml" />
+ <xi:include href="xml/element-id3v2mux.xml" />
<xi:include href="xml/element-jpegdec.xml" />
<xi:include href="xml/element-jpegenc.xml" />
<xi:include href="xml/element-level.xml" />
<xi:include href="xml/plugin-shout2send.xml" />
<xi:include href="xml/plugin-smpte.xml" />
<xi:include href="xml/plugin-speex.xml" />
+ <xi:include href="xml/plugin-taglib.xml" />
<xi:include href="xml/plugin-udp.xml" />
<xi:include href="xml/plugin-videobox.xml" />
<xi:include href="xml/plugin-videobalance.xml" />
</SECTION>
<SECTION>
+<FILE>element-id3v2mux</FILE>
+GstId3v2Mux
+<TITLE>id3v2mux</TITLE>
+<SUBSECTION Standard>
+GstId3v2MuxClass
+</SECTION>
+
+<SECTION>
<FILE>element-jpegdec</FILE>
GstJpegDec
GstJpegDecErrorMgr
SPEEX_DIR =
endif
+if USE_TAGLIB
+TAGLIB_DIR = taglib
+else
+TAGLIB_DIR =
+endif
+
SUBDIRS = \
$(AALIB_DIR) \
$(ANNODEX_DIR) \
$(LIBPNG_DIR) \
$(MIKMOD_DIR) \
$(SHOUT2_DIR) \
- $(SPEEX_DIR)
+ $(SPEEX_DIR) \
+ $(TAGLIB_DIR)
DIST_SUBDIRS = \
aalib \
libpng \
raw1394 \
shout2 \
- speex
+ speex \
+ taglib
plugin_LTLIBRARIES = libgsttaglib.la
-libgsttaglib_la_SOURCES = gsttaglib.cc gstid3v2mux.cc
+libgsttaglib_la_SOURCES = gsttaglibmux.c gstid3v2mux.cc
+libgsttaglib_la_CFLAGS = \
+ $(GST_CFLAGS) \
+ $(GST_PLUGINS_BASE_CFLAGS) \
+ $(TAGLIB_CFLAGS)
libgsttaglib_la_CXXFLAGS = \
$(GST_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \
$(TAGLIB_LIBS)
libgsttaglib_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-noinst_HEADERS = gsttaglib.h gstid3v2mux.h
-
-#EXTRA_DIST = README
+noinst_HEADERS = gsttaglibmux.h gstid3v2mux.h
#ifndef GST_ID3V2_MUX_H
#define GST_ID3V2_MUX_H
-#include "gsttaglib.h"
+#include "gsttaglibmux.h"
G_BEGIN_DECLS
#include <string.h>
#include <gst/gsttagsetter.h>
#include <gst/tag/tag.h>
-#include "gsttaglib.h"
+
+#include "gsttaglibmux.h"
GST_DEBUG_CATEGORY_STATIC (gst_tag_lib_mux_debug);
#define GST_CAT_DEFAULT gst_tag_lib_mux_debug
* Boston, MA 02111-1307, USA.
*/
-#ifndef GST_TAG_LIB_H
-#define GST_TAG_LIB_H
+#ifndef GST_TAG_LIB_MUX_H
+#define GST_TAG_LIB_MUX_H
#include <gst/gst.h>
typedef struct _GstTagLibMuxClass GstTagLibMuxClass;
/* Definition of structure storing data for this element. */
-typedef struct _GstTagLibMux {
+struct _GstTagLibMux {
GstElement element;
GstPad *srcpad;
};
/* Standard definition defining a class for this element. */
-typedef struct _GstTagLibMuxClass {
+struct _GstTagLibMuxClass {
GstElementClass parent_class;
/* vfuncs */
clean-local: clean-local-check
-TESTS = $(check_PROGRAMS)
+if USE_TAGLIB
+check_taglib = elements/id3v2mux
+else
+check_taglib =
+endif
check_PROGRAMS = \
elements/avimux \
elements/cmmlenc \
elements/icydemux
+TESTS = $(check_PROGRAMS)
# these tests don't even pass
-noinst_PROGRAMS =
+noinst_PROGRAMS = $(check_taglib)
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
GST_END_TEST;
static Suite *
-tagid3v2mux_suite (void)
+id3v2mux_suite (void)
{
- Suite *s = suite_create ("tagid3v2mux");
+ Suite *s = suite_create ("id3v2mux");
TCase *tc_chain = tcase_create ("general");
suite_add_tcase (s, tc_chain);
{
int nf;
- Suite *s = tagid3v2mux_suite ();
+ Suite *s = id3v2mux_suite ();
SRunner *sr = srunner_create (s);
gst_check_init (&argc, &argv);