summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-03-13 17:22:19 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-03-13 17:22:19 +0000
commitaab9a093104fe3f6b9755ca41090f4b887e9d9c2 (patch)
tree73dd5b545e181a946e8b6f5c95eaecd6dd5d412a
parent82c52d4736fa9db46347cb34c4fc000ae315c3a7 (diff)
downloadgst-plugins-bad-aab9a093104fe3f6b9755ca41090f4b887e9d9c2.tar.gz
gst-plugins-bad-aab9a093104fe3f6b9755ca41090f4b887e9d9c2.tar.bz2
gst-plugins-bad-aab9a093104fe3f6b9755ca41090f4b887e9d9c2.zip
ext/taglib/gsttaglib.cc: Add gtk-doc blurb (unused for the time being); match registered plugin name to the filename ...
Original commit message from CVS: * ext/taglib/gsttaglib.cc: Add gtk-doc blurb (unused for the time being); match registered plugin name to the filename of the plugin (taglibmux => taglib)
-rw-r--r--ChangeLog6
-rw-r--r--ext/taglib/gsttaglib.cc28
2 files changed, 33 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c2d41bf6..c96cc600 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-03-13 Tim-Philipp Müller <tim at centricular dot net>
+ * ext/taglib/gsttaglib.cc:
+ Add gtk-doc blurb (unused for the time being); match registered
+ plugin name to the filename of the plugin (taglibmux => taglib)
+
+2006-03-13 Tim-Philipp Müller <tim at centricular dot net>
+
Patch by: Mikhail Zabaluev <mhz altlinux org>
* autogen.sh:
diff --git a/ext/taglib/gsttaglib.cc b/ext/taglib/gsttaglib.cc
index 79cea006..99af3eeb 100644
--- a/ext/taglib/gsttaglib.cc
+++ b/ext/taglib/gsttaglib.cc
@@ -17,6 +17,32 @@
* Boston, MA 02111-1307, USA.
*/
+/**
+ * SECTION:element-tagid3v2mux
+ * @see_also: #GstID3Demux, #GstTagSetter
+ *
+ * <refsect2>
+ * <para>
+ * This element adds ID3v2 tags to the beginning of a stream using the taglib
+ * library. More precisely, the tags written are ID3 version 2.4.0 tags (which
+ * means in practice that some hardware players or outdated programs might not
+ * be able to read them properly).
+ * </para>
+ * <para>
+ * Applications can set the tags to write using the #GstTagSetter interface.
+ * Tags sent by upstream elements will be picked up automatically (and merged
+ * according to the merge mode set via the tag setter interface).
+ * </para>
+ * <para>
+ * Here is a simple pipeline that transcodes a file from Ogg/Vorbis to mp3
+ * format with an ID3v2 that contains the same as the the Ogg/Vorbis file:
+ * <programlisting>
+ * gst-launch -v filesrc location=foo.ogg ! decodebin ! audioconvert ! lame ! tagid3v2mux ! filesink location=foo.mp3
+ * </programlisting>
+ * </para>
+ * </refsect2>
+ */
+
#ifdef HAVE_CONFIG_H
#include <config.h>
@@ -531,6 +557,6 @@ plugin_init (GstPlugin * plugin)
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
- "taglibmux",
+ "taglib",
"Tag-writing plug-in based on taglib",
plugin_init, VERSION, "LGPL", GST_PACKAGE, GST_ORIGIN)