After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336110 - move taglib-based ID3 muxer to -good
move taglib-based ID3 muxer to -good
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal major
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-26 20:23 UTC by Tim-Philipp Müller
Modified: 2006-05-01 18:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
stand-alone test for id3v2mux (10.20 KB, text/x-csrc)
2006-03-26 20:25 UTC, Tim-Philipp Müller
Details
stand-alone test for id3v2mux using check framework (11.37 KB, text/x-csrc)
2006-03-27 09:50 UTC, Tim-Philipp Müller
Details

Description Tim-Philipp Müller 2006-03-26 20:23:20 UTC
I would like to move the taglib-based ID3 muxer from -bad to -good.

Going through the checklist:

 * I am willing to actively maintain the element, but I'm sure that
   Christophe (who has written it originally) would be equally willing
   to maintain it.

 * plugin's code:
    - base class: N/A
    - uses boilerplate macros
    - conforms to GStreamer coding style
    - has a custom debug category
    - uses GST_*_OBJECT where possible

 * compiled plugin
    - shows up properly in gst-inspect

 * is in the correct location (/ext)

 * documented:
    - correct element description and plugin description
    - has a gtk-doc blurb with pipeline example

 * unit tests:
    - will be attached below
    - test is leak-free with valgrind

 * license:
    - plugin code is LGPL
    - taglib is LGPL

 * docs will be added to the build once it is actually in the -good repository.


Some CVS surgery to do the move would be nice, but is not essential.

In the course of the move, I would also like to rename the source files:

   gsttaglib.cc => gsttaglibmux.cc
   gsttaglib.hh => gsttaglibmux.hh
Comment 1 Tim-Philipp Müller 2006-03-26 20:25:16 UTC
Created attachment 62063 [details]
stand-alone test for id3v2mux


Stand-alone unit test for id3v2mux. Proof of existence and workiness. Will be changed to use the check framework when transition is done.
Comment 2 Tim-Philipp Müller 2006-03-27 09:50:24 UTC
Created attachment 62103 [details]
stand-alone test for id3v2mux using check framework


Updated to use check framework
Comment 3 Thomas Vander Stichele 2006-04-01 16:51:17 UTC
I was looking at this.  Noticing the following things:

- gtkdoc-mkdb does not look in .cc files for documentation.  That's pretty damn annoying :)

- the plugin is called taglib and the element is called tagid3v2mux.  However the class for the element is called GstTagLibClass.  And the debugging category is again something with ID3 in it.  This should be cleaned up; either the idea is to add other types of tag adders, in which case the classes should be named ID3V2Mux-alike, or it is never going to do anything else than id3.

Also, if we have id3demux to demux, I think this element should be named tagid3v2mux and not just id3v2mux.

- the check was put in -bad, with an ugly hack to find the "good" plugins (for id3demux) - can this be written without relying on id3demux at all?

Comment 4 Tim-Philipp Müller 2006-04-02 15:17:56 UTC
Thanks for looking at this.

I agree it should be called tagid3v2mux and not id3v2mux.

At some point in the future I'd like to add a taglib-based APE tag muxer as well, that's why I'd prefer to keep the class/filename more general for now (when that happens I'd probably split the ID3v2 stuff out into a new subclass and add another subclass for the APE stuff).

Of course you can write tests without relying on the id3demux plugin, but those wouldn't be very useful kinds of tests, or at least I can't think of any right now.
Comment 5 Thomas Vander Stichele 2006-05-01 18:02:02 UTC
moved.