projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Build modification to ffmpeg/avformat
[melted]
/
src
/
modules
/
sdl
/
consumer_sdl_still.c
diff --git
a/src/modules/sdl/consumer_sdl_still.c
b/src/modules/sdl/consumer_sdl_still.c
index
f2146f5
..
c76740a
100644
(file)
--- a/
src/modules/sdl/consumer_sdl_still.c
+++ b/
src/modules/sdl/consumer_sdl_still.c
@@
-590,6
+590,7
@@
static int consumer_get_dimensions( int *width, int *height )
// Get the wm structure
if ( SDL_GetWMInfo( &wm ) == 1 )
{
+#ifndef __DARWIN__
// Check that we have the X11 wm
if ( wm.subsystem == SDL_SYSWM_X11 )
{
@@
-610,6
+611,7
@@
static int consumer_get_dimensions( int *width, int *height )
*width = attr.width;
*height = attr.height;
}
+#endif
}
return changed;