GNOME Bugzilla – Bug 555437
[tag] add GstTagMux base class
Last modified: 2011-07-29 18:41:03 UTC
The plugin good/ext/taglib provides two taggers that are implemented by deriving from gsttaglibmux. Even though the two taggers implemented by that plugin are using taglib, the plugin skeleton provided by gsttaglibmux is generic enough to be reused by any other tagger, even one using another library than taglib. This makes taglibmux reusable enough in order to deserve a promotion to go public and to be reused by other plugins.
The one in -bad/id3tag/ might actually be better (has support for end tags as well, I think).
Current header/API is here: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst/id3tag/gsttagmux.h if anyone wants to have a look. It's only two vfuncs really.
The base class looks good but I think the subclasses should add a sink pad template (with maybe non-ANY caps). Other than that it can go into libgsttag IMHO
commit e1613349881f7c1dd058b84976912e5086a766cb Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Fri Jul 29 10:23:02 2011 +0100 Add new GstTagMux base class Hook up new tag muxing base class to build system. https://bugzilla.gnome.org/show_bug.cgi?id=555437 API: GstTagMux commit b83c7e0a0e229c447775a3a17417b65be771241e Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Fri Jul 29 10:22:26 2011 +0100 docs: add documentation for GstTagMux commit 2633692072cacff72726ec23cd1cab679cf1b047 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Thu Jul 28 20:38:37 2011 +0100 tagmux: require subclass to install sink pad template Require the subclass to install both source and sink pad templates. Also, print some warnings if the subclass doesn't do that. https://bugzilla.gnome.org/show_bug.cgi?id=555437