[gstreamer-bugs] [Bug 560302] New: Add GST_TAG_MERGE_REMOVE

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Nov 11 01:28:56 PST 2008


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=560302

  GStreamer | gstreamer (core) | Ver: HEAD CVS
           Summary: Add GST_TAG_MERGE_REMOVE
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ensonic at sonicpulse.de
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


The usecase is that one wants to implement a e.g. privacy filter and strip
certain tags. A pipeline would be something like
filesrc ! demuxer ! queue ! muxer ! filesink
Right now one would need to listen to GST_MESSAGE_TAG, filter the list manually
and then call
gst_tag_setter_merge_tags(setter, filteed_tags,GST_TAG_MERGE_REPLACE_ALL);

I propose adding GST_TAG_MERGE_REMOVE with the following semantics:
merge mode      A + B   A + !B  !A + B  !A + !B
REPLACE         -       A       -       -

This way one can do:
gst_tag_setter_add_tags (setter, GST_TAG_MERGE_REMOVE,
     GST_TAG_TITLE,NULL,
     GST_TAG_DURATION, GST_CLOCK_TIME_NONE,
     NULL);
Basically the values don't matter.


-- 
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=560302.




More information about the Gstreamer-bugs mailing list