[Bug 788402] New: osxvideosink build fails on mac OS < 12.0

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Oct 1 16:23:08 UTC 2017


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

            Bug ID: 788402
           Summary: osxvideosink build fails on mac OS < 12.0
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: jerome at jeromelaheurte.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

In master, some changes have been made in osxvideosink to get rid of deprecated
macro names (events, etc). There is a test to #define the old names:

#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12

This does not actually work since on older XCode versions
MAC_OS_X_VERSION_10_12 is not defined. Apple's own documentation says to use
the version macro *value* in this case.

The attached patch fixes this.

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