[Bug 773091] check: Add API to filter g_warning/g_critical etc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 24 00:14:04 UTC 2017


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

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.11.2

--- Comment #6 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Makes sense, thanks for updating the patch:

commit 0c36e5766dde198a8015e7f04306838407dc8a86
Author: Stian Selnes <stian at pexip.com>
Date:   Tue May 24 14:57:54 2016 +0200

    check: Add API to filter g_warning/g_critical etc

    New API functions to filter log messages before they are processed by
    GstCheck. This can be used to discard specific messages that are
    accepted by the test or to add callbacks that test specific messages.

    Default bevavior when no callback is given to a filter is to discard the
    message, because it does not makes sense to have a filter with no
    callback which does not discard; that would be a noop.

    Discarded messages will in addition to bypass the GstCheck handling also
    return to GLib that the message is not fatal if it occurs.

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

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