diff options
author | Sebastian Dröge <mail@slomosnail.de> | 2006-05-30 14:35:18 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-05-30 14:35:18 +0000 |
commit | c121cab661eb9f123cd9deab32609570226a4e0d (patch) | |
tree | 6e81fb6d8e9443d3f4a7636b34aa64d3c39904af /ext/taglib/gsttaglibmux.c | |
parent | 8f1c9746eae406efa1619a890bfc35d96fb485e4 (diff) |
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:
* ext/taglib/gsttaglibmux.c: (plugin_init):
* ext/taglib/gsttaglibmux.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.
Diffstat (limited to 'ext/taglib/gsttaglibmux.c')
-rw-r--r-- | ext/taglib/gsttaglibmux.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/taglib/gsttaglibmux.c b/ext/taglib/gsttaglibmux.c index f3321d32..b0f22eaa 100644 --- a/ext/taglib/gsttaglibmux.c +++ b/ext/taglib/gsttaglibmux.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); |