From 79fc505bb6931a7270e47d56932c95f69ebba983 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 27 Jul 2003 21:55:54 +0000 Subject: [PATCH] start in windowed mode using Quartz, but no X server started. Ported from fink.sf.net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10484 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_sdl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index 80a9930b4c..e36e2a8352 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -896,7 +896,8 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin ||(strcmp(priv->driver, "directx") == 0) ||(strcmp(priv->driver, "Quartz") == 0) ||((strcmp(priv->driver, "aalib") == 0) - && priv->X)) { + && priv->X) + ||(strcmp(priv->driver, "Quartz") == 0)) { if(verbose) printf("SDL: setting windowed mode\n"); set_video_mode(priv->dstwidth, priv->dstheight, priv->bpp, priv->sdlflags); }