[gstreamer-bugs] [Bug 343127] New: [apedemux][PATCH] clean up parsing, handle GST_TAG_TRACK_COUNT

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat May 27 11:55:28 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=343127
 GStreamer | gst-plugins-good | Ver: HEAD CVS

           Summary: [apedemux][PATCH] clean up parsing, handle
                    GST_TAG_TRACK_COUNT
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: slomo at ubuntu.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,
the attached patch cleans up parsing of the APE tags. sscanf() is now used
instead of atoi() (or even worse atof() for uints)- Depending on whether we can
parse it or not the GValue gets initialized or not and a special case for the
"Track" tag is implemented:
According to the spec[1] it can be TRACK_NUMBER/TRACK_COUNT thus we check for
this and a fill in TRACK_COUNT if possible.

[1] http://www.personal.uni-jena.de/~pfk/mpp/sv8/apekey.html

Bye


-- 
Configure bugmail: http://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