[Bug 769117] Regression building master

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


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.9.2

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
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