[gstreamer-bugs] [Bug 512334] New: g_critical() when using GstAudioFilter & GST_DEBUG

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Jan 26 22:15:28 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=512334

  GStreamer | gst-plugins-base | Ver: HEAD CVS
           Summary: g_critical() when using GstAudioFilter & GST_DEBUG
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,
currently one gets some g_critical() when using an element that is based on
GstAudioFilter and GST_DEBUG.

GST_DEBUG=equalizer:5 gst-launch-0.10 audiotestsrc ! audioconvert !
equalizer-nbands ! fakesink
[...]
(gst-launch-0.10:17495): GStreamer-CRITICAL **: gst_debug_log_valist: assertion
`category != NULL' failed
[...]

This is caused by GstAudioFilter using gst_ring_buffer_parse_caps() without
having called gst_ring_buffer_get_type() in some way.
gst_ring_buffer_parse_caps() uses the ringbuffer debug category which is first
initialized when calling gst_ring_buffer_get_type().

Attached patch fixes this and should be committed right after release if nobody
disagrees.


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




More information about the Gstreamer-bugs mailing list