summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorJulien Moutte <julien@moutte.net>2007-11-20 11:41:13 +0000
committerJulien Moutte <julien@moutte.net>2007-11-20 11:41:13 +0000
commit1f0a03d3201080e2834d7d61dd5572e464d9450c (patch)
treee36127f71e560869c3bea926d806f56a3e6d3090 /sys
parenta7591577462e9d8d9dbad9712b08b1a78c077405 (diff)
Fix build on Mac OS X 10.5
Original commit message from CVS: 2007-11-20 Julien MOUTTE <julien@moutte.net> * ext/taglib/gsttaglibmux.c: (gst_tag_lib_mux_render_tag), (gst_tag_lib_mux_adjust_event_offsets): * gst/qtdemux/qtdemux.c: (qtdemux_parse_theora_extension): * sys/osxaudio/Makefile.am: * sys/osxvideo/cocoawindow.h: * sys/osxvideo/cocoawindow.m: Fix build on Mac OS X 10.5
Diffstat (limited to 'sys')
-rw-r--r--sys/osxaudio/Makefile.am3
-rw-r--r--sys/osxvideo/cocoawindow.h2
-rw-r--r--sys/osxvideo/cocoawindow.m2
3 files changed, 4 insertions, 3 deletions
diff --git a/sys/osxaudio/Makefile.am b/sys/osxaudio/Makefile.am
index 4ea2114c..1b0e4875 100644
--- a/sys/osxaudio/Makefile.am
+++ b/sys/osxaudio/Makefile.am
@@ -5,7 +5,8 @@ libgstosxaudio_la_SOURCES = gstosxringbuffer.c \
gstosxaudiosink.c \
gstosxaudiosrc.c
-libgstosxaudio_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
+libgstosxaudio_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
+ -Wno-deprecated-declarations
libgstosxaudio_la_LIBADD = \
-lgstinterfaces-@GST_MAJORMINOR@ \
-lgstaudio-@GST_MAJORMINOR@ \
diff --git a/sys/osxvideo/cocoawindow.h b/sys/osxvideo/cocoawindow.h
index 340bd160..a0a4a9a0 100644
--- a/sys/osxvideo/cocoawindow.h
+++ b/sys/osxvideo/cocoawindow.h
@@ -35,7 +35,7 @@ struct _GstOSXImage;
@interface GstGLView : NSOpenGLView
{
int i_effect;
- unsigned long pi_texture;
+ unsigned int pi_texture;
float f_x;
float f_y;
int initDone;
diff --git a/sys/osxvideo/cocoawindow.m b/sys/osxvideo/cocoawindow.m
index 9b5e7b31..c90dc604 100644
--- a/sys/osxvideo/cocoawindow.m
+++ b/sys/osxvideo/cocoawindow.m
@@ -262,7 +262,7 @@
}
- (void) drawRect:(NSRect) rect {
- long params[] = { 1 };
+ int params[] = { 1 };
[actualContext makeCurrentContext];