[gstreamer-bugs] [Bug 578114] New: API: add two new log levels: FIXME and MEMDUMP

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Apr 6 01:50:24 PDT 2009


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

  GStreamer | gstreamer (core) | Ver: git
           Summary: API: add two new log levels: FIXME and MEMDUMP
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I'd like to add two new log levels and associated macros to the debugging
system, namely GST_FIXME() and friends and GST_MEMDUMP() and friends.

The FIXME category is nothing special and works just like all the other levels.

The MEMDUMP stuff works a bit differently in that it takes a non-printf style
message string and data/length arguments and then produces something like this:

---------------------------------------------------------------------------
check gst/gstinfo.c:210:info_dump_mem: quicktime header
check gst/gstinfo.c:210:info_dump_mem: 00000000: 00 00 00 20 66 74 79 70 71 74
20 20 20 05 03 00  ... ftypqt   ...
check gst/gstinfo.c:210:info_dump_mem: 00000010: 71 74 20 20 00 00 00 00 00 00
00 00 00 00 00 00  qt  ............
check gst/gstinfo.c:210:info_dump_mem: 00000020: 00 00 ef e1 6d 6f 6f 76 00 00
00 6c 6d 76 68 64  ....moov...lmvhd
check gst/gstinfo.c:210:info_dump_mem: 00000030: 00 00 00 00 bf d1 00 1d bf d1
00 1e 00 00 0b b5  ................
check gst/gstinfo.c:210:info_dump_mem: 00000040: 00 04 59 c5 00 01 00 00 00 ff
00 00 00 00 00 00  ..Y.............
check gst/gstinfo.c:210:info_dump_mem: 00000050: 00 00 00 00 00 01 25 73 25 73 
                  ......%s%s      
check gst/gstinfo.c:210:info_dump_mem:
---------------------------------------------------------------------------


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




More information about the Gstreamer-bugs mailing list