GNOME Bugzilla – Bug 308438
Registering the same tag twice leads to assertion warnings
Last modified: 2005-06-21 08:42:24 UTC
Version details: Debian 0.8.9-1 Distribution/Version: Debian/sid Hi, (process:17854): GStreamer-CRITICAL **: gst_tag_register: assertion `info == NULL' failed is output by gst-compprep if you build two incompatible plugins (ie. they register the same tag). this is the case of the CDIO plugin which registers "discid" already registered in cdparanoia. Bye,
Looks like a bug in gst_tag_register() IMHO. The API says "Registers a new tag type for the use with GStreamer's type system. If a type with that name is already registered, that one is used. The old registration may have used a different type however. So don't rely on your supplied values. This function takes ownership of all supplied variables.", so by implication it should be fine to register the same tag twice (at least as long as the types are the same). Cheers -Tim
This should be fixed in CVS now: 2005-06-21 Tim-Philipp Muller <tim at centricular dot net> * gst/gsttag.c: (gst_tag_register): Don't spew out an assertion warning if a tag is already registered, unless the new type differs from the old one (fixes #308438). Cheers -Tim