Skip to content

Commit

Permalink
patch for ticket #1069 gst-plugins-good-1.6.4 compile error on osx 10.5
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@12528 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
Stephen Gauthier committed May 4, 2016
1 parent 95dced2 commit f96d642
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions osx/jhbuild/patches/gst-plugins-good-1.6.4-osx-10.5-fixdefs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--- gst-plugins-good-1.6.4.orig/sys/osxaudio/gstosxcoreaudio.c 2015-09-25 15:19:29.000000000 -0700
+++ gst-plugins-good-1.6.4/sys/osxaudio/gstosxcoreaudio.c 2016-05-04 14:32:26.000000000 -0700
@@ -35,6 +35,12 @@
#include "gstosxcoreaudiohal.c"
#endif

+#ifndef kLinearPCMFormatFlagsSampleFractionShift
+#define kLinearPCMFormatFlagsSampleFractionShift 7
+#endif
+#ifndef kLinearPCMFormatFlagsSampleFractionMask
+#define kLinearPCMFormatFlagsSampleFractionMask (0x3F << kLinearPCMFormatFlagsSampleFractionShift)
+#endif

static void
gst_core_audio_class_init (GstCoreAudioClass * klass)

0 comments on commit f96d642

Please sign in to comment.