[gstreamer-bugs] [Bug 624113] New: Wrong behaviour in merge function for strings

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jul 11 10:18:53 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=624113
  GStreamer | gstreamer (core) | git

           Summary: Wrong behaviour in merge function for strings
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: edudobay at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=165688)
 View: https://bugzilla.gnome.org/attachment.cgi?id=165688
 Review: https://bugzilla.gnome.org/review?bug=624113&attachment=165688

Fix in gst_tag_merge_strings_with_comma

After creating a test ogg file and inserting multiple artist fields in it, I
ran a program written by me that extracts the metadata from a file via
GStreamer (using gst_tag_list_get_string for the string fields), and got the
following oddity:

$ vorbiscomment -w -t "ARTIST=foo" -t "ARTIST=bar" -t "ARTIST=baz" -t
"ARTIST=qux" -t "ARTIST=quux" test.ogg
$ ./metadata test.ogg
artist: foo, bar, bar, bar, bar

i.e. after the second occurrence of the artist tag, the second field value is
always used. The solution is very simple (just one character in
gst/gsttaglist.c) and the patch is attached.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list