[gstreamer-bugs] [Bug 345352] [API] query tag setters (and getters?) for supported tags

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Sep 26 03:29:16 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=345352

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #2 from René Stadler  2007-09-26 10:29 UTC -------
I had the idea of using filter functions for tag lists.  From an application
standpoint (like a coverage generator) it would look like this:

Merge some tags using gst_tag_setter_{add,merge}_tags as usual.  The new
behavior of the element would imply that it filters out unsupported tags in the
process.  The app can then peek at the list with gst_tag_setter_get_tag_list to
check which tags got accepted.

Elements that have not been updated to the new behavior would be easily
identified by feeding a non-existant dummy tag as bait, since they accept
anything silently without checking.

I don't know how complex or ugly the implementation would have to be, so this
idea might be completely cracked after all.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=345352.




More information about the Gstreamer-bugs mailing list