[Bug 756806] message: Add extra information fields to error/warning/info messages

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Jul 24 00:41:24 UTC 2016


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

--- Comment #40 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
The failure from comment #7 was not resolved. This should fix it, don't know if
there's an easier way.

commit d052ae63d8632b78e933a8447e5f2c8aa25a6c17
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Sun Jul 24 01:35:41 2016 +0100

    element: fix GST_ELEMENT_ERROR() error code expansion

    In some corner cases, the error 'code' part passed to
    GST_ELEMENT_ERROR() is a valid define as well, in which
    case it won't survive two levels of macro expansion, but
    only one. Fixes:

    oss4-sink.c: In function ‘gst_oss4_sink_open’:
    error: ‘GST_RESOURCE_ERROR_0x00000002’ undeclared (first use in this
function)
    GST_ ## domain ## _ERROR_ ## code, __txt, __dbg, __FILE__,

    which is from GST_ELEMENT_ERROR(el,RESOURCE,OPEN_WRITE,..)
    and OPEN_WRITE happens to be defined to 2 here.

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

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