[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-cvs
Subject: gst-plugins-base: Add apev2mux element (#343122).
From: tpm () kemper ! freedesktop ! org (Tim Müller)
Date: 2011-07-29 18:40:11
Message-ID: 20110729184011.C87FEF81D2 () kemper ! freedesktop ! org
[Download RAW message or body]
Module: gst-plugins-base
Branch: master
Commit: b303e8e19ec98036bddebba0ae2f912c9b843836
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=b303e8e19ec98036bddebba0ae2f912c9b843836
Author: Sebastian Dröge <mail@slomosnail.de>
Date: Tue May 30 14:35:18 2006 +0000
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.
---
gst-libs/gst/tag/gsttagmux.c | 14 ++++++++++++++
gst-libs/gst/tag/gsttagmux.h | 2 ++
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/gst-libs/gst/tag/gsttagmux.c b/gst-libs/gst/tag/gsttagmux.c
index f3321d3..b0f22ea 100644
--- a/gst-libs/gst/tag/gsttagmux.c
+++ b/gst-libs/gst/tag/gsttagmux.c
@@ -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);
diff --git a/gst-libs/gst/tag/gsttagmux.h b/gst-libs/gst/tag/gsttagmux.h
index 26c9de7..d26ff30 100644
--- a/gst-libs/gst/tag/gsttagmux.h
+++ b/gst-libs/gst/tag/gsttagmux.h
@@ -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
_______________________________________________
gstreamer-commits mailing list
gstreamer-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic