[Bug 794717] New: Debug levels applied in wrong order

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 27 09:00:31 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=794717

            Bug ID: 794717
           Summary: Debug levels applied in wrong order
    Classification: Platform
           Product: GStreamer
           Version: 1.14.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: jan.steffens at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

For categories created post-init, the level name patterns are applied in the
wrong order.

Test pipeline:

GST_DEBUG="GST_PLUGIN_LOADING:INFO,*:FIXME,videotestsrc:DEBUG" gst-launch-1.0
videotestsrc num-buffers=1 ! fakesink

The output should include DEBUG lines from videotestsrc, but doesn't. Neither
does it (and should it) include INFO lines from GST_PLUGIN_LOADING, so the
order isn't reversed for all categories.

This got broken in 67e9d139: the new code doesn't stop checking patterns once a
match has been found.

AFAICT this re-application of filters is superfluous anyway, as
gst_debug_reset_threshold is run on the new category and has already applied
the patterns.

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