SDL, MacOSX and MPlayer

Hello,

I recompiled mplayer under MacOSX with SDL, but there are some problems, which I cannot figer out…
Some question (answers are wellcome):

  • Are supported non standard wide-screen resolution in the fullscreen mode under MacOSX?
  • Is patched version of SDL (inspirated by VLC - look at archive of this conf.) already in the official CVS tree of SDL?
  • I attached error messages comming from mplayer with sdl after switching from fullscreen to window mode. Code of the vo_sdl is running under Linux without problems, is there some need of change? I hope not. Please help, or give me some hints.

Thanks

Klokan Petr Pridal–
(_/) Klokan Petr Pridal
(o o) ----------------------------
(.) student FI MU Brno, webmaster http://www.linux.cz/
(] [) _ mailto:klokan at seznam.cz
{~~~}/ ) ICQ:3674202
(’) (’) http://klokan.misto.cz/
_)-(_) Look at http://www.fi.muni.cz/~xpridal/
-------------- next part --------------
VIDEO: [3VID] 640x256 24bpp 29.97 fps 561.7 kbps (68.6 kbyte/s)
[V] filefmt:3 fourcc:0x33564944 size:640x256 fps:29.97 ftime:=0.0334
SUB: Detected subtitle file format: microdvd
SUB: Read 944 subtitles.
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
init layer2&3 finished, tables done
mp3lib: using generic decore!
MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=44100 chans=2 bps=2 sfmt=0x20 ratio: 16000->176400

Opening Video Decoder: [ffmpeg] FFmpeg’s libavcodec codec family
Detected video codec: [ffdivx] drv:5 prio:0 (FFmpeg DivX :wink: (MS MPEG-4 v3))

AO: [sdl] 44100Hz Stereo Signed 16-bit (Big-Endian)
SDL: Samplerate: 44100Hz Channels: Stereo Format Signed 16-bit (Big-Endian)
Start playing…
VDec: vo config request - 640 x 256, Planar YV12
[PP] Sorry, postprocessing is not available
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 640x256 => 640x256 Planar YV12
SDL: Using driver: Quartz
*** [vo] Exporting mp_image_t, 640x256x12bpp YUV planar, 245760 bytes
kCGErrorInvalidConnection : CGSNewWindow: Invalid connection 8.0% 14 0 0%
2002-05-24 16:46:16.980 mplayer[331] _NXCreateWindow: error creating window (1002)
kCGErrorInvalidConnection : CGSSetWindowProperty: Invalid connection
kCGErrorInvalidConnection : CGSInvalidateWindowShadow: Invalid connection
kCGErrorInvalidConnection : CGSSetWindowAlpha: Invalid connection
kCGErrorIllegalArgument : CGSLockWindowRectBits: Invalid window
kCGErrorFailure : Cannot create window/bitmap context device.
kCGErrorFailure : Failed to initialize context RIPContext.
kCGErrorFailure : CGWindowContextCreate: failed to create context.
2002-05-24 16:46:16.997 mplayer[331] _initWithWindowNumber: error creating graphics ctxt object for ctxt:0, window:-1
kCGErrorFailure : CGContextResetClip: invalid context
kCGErrorFailure : CGContextReplaceTopGState: invalid context
kCGErrorInvalidConnection : CGSGetWindowProperty: Invalid connection
kCGErrorInvalidConnection : CGSSetHideOnDeact: error getting current hide-on-deactivate state
kCGErrorInvalidConnection : CGSSetWindowProperty: Invalid connection
kCGErrorInvalidConnection : CGSSetEventMask: error setting client event mask window property
kCGErrorInvalidConnection : CGSSetWindowEventMask: Invalid connection
kCGErrorInvalidConnection : CGSSetEventMask: error setting window event mask
kCGErrorInvalidConnection : CGSSetWindowToReleaseBackingOnOrderOut: Invalid connection
2002-05-24 16:46:17.011 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1883ff0 of class NSCFArray autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.013 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884010 of class NSCFArray autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.013 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884060 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.015 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884140 of class NSCFArray autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.015 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884180 of class NSCFArray autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.026 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18841a0 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.026 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18841e0 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.027 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884200 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.027 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884250 of class NSCFArray autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.027 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884270 of class NSCFArray autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.027 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884290 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.027 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18842f0 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.071 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884320 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.073 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884350 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.077 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884430 of class NSCFDictionary autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.079 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884560 of class NSIdEnumerator autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.081 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884530 of class NSCFArray autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.084 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1878000 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.088 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884960 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.090 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18849f0 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.092 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884b00 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.094 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x249c90 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.096 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884b80 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.099 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x25a0b0 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.102 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884c50 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.114 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884f20 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.131 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884f80 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.132 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1884fb0 of class NSPathStore2 autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.132 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18781a0 of class NSCFArray autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.137 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18865b0 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.138 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1885ee0 of class NSCFDictionary autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.139 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1886a40 of class NSCFData autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.140 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1885e70 of class NSCFData autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.156 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18875f0 of class NSBitmapImageRep autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.159 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1887cf0 of class NSImage autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.159 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1888760 of class NSBitmapImageRep autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.160 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18887a0 of class NSImage autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.161 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x187f7c0 of class _NSThemeCloseWidget autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.162 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1879a30 of class NSBitmapImageRep autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.163 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1878740 of class NSImage autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.163 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x187b520 of class NSBitmapImageRep autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.166 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1886a20 of class NSImage autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.167 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18889f0 of class _NSThemeWidget autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.169 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1889250 of class NSBitmapImageRep autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.170 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x187d940 of class NSImage autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.170 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1889290 of class NSBitmapImageRep autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.170 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x187f8b0 of class NSImage autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.171 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1888ee0 of class _NSThemeWidget autoreleased with no pool in place - just leaking
kCGErrorInvalidConnection : CGSGetCurrentCursorLocation: Invalid connection
kCGErrorInvalidConnection : CGSGetCurrentCursorLocation: Invalid connection
kCGErrorInvalidConnection : CGSGetCurrentCursorLocation: Invalid connection
2002-05-24 16:46:17.176 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1889430 of class NSView autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.178 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188a020 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.179 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188a160 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.179 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x187bc00 of class NSCFData autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.181 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1889810 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.213 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1889810 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.216 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x267fb0 of class NSCFNumber autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.218 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x187c330 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.219 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188d070 of class NSCFData autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.219 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188d1a0 of class NSCFData autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.227 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188d560 of class NSCFDictionary autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.228 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188d7a0 of class NSCFDictionary autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.230 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188dc60 of class NSCFCharacterSet autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.230 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188e120 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.232 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188ed50 of class NSMachPort autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.233 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188f260 of class NSMachPort autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.233 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188f2a0 of class NSConnection autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.234 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188f720 of class NSDistantObject autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.239 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18906c0 of class NSCFDate autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.246 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188fa50 of class NSInvocation autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.248 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188c950 of class NSCFDate autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.262 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1890c10 of class NSInvocation autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.264 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1890d30 of class NSCFDate autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.266 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1890fb0 of class NSInvocation autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.266 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188a000 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.267 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188acc0 of class NSCFDate autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.268 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1891320 of class NSInvocation autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.269 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188ea00 of class NSCFDate autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.271 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18913f0 of class NSInvocation autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.298 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1891980 of class NSCFDate autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.300 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1891b20 of class NSInvocation autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.301 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x2520b0 of class NSshortNumber autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.301 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1892280 of class NSCFDate autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.303 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18921b0 of class NSInvocation autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.306 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18948e0 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.307 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18949b0 of class NSBitmapImageRep autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.312 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1894ac0 of class NSImage autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.313 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1894dc0 of class NSCFDictionary autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.313 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1894f80 of class NSCalibratedRGBColor autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.314 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1895140 of class NSCalibratedRGBColor autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.314 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1890020 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.315 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18909f0 of class NSCFDate autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.321 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1895270 of class NSInvocation autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.322 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188eaf0 of class NSshortNumber autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.322 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x188d640 of class NSCFDate autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.324 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1895340 of class NSInvocation autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.330 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1888c00 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.333 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1878310 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.334 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18981b0 of class NSCFDictionary autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.365 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x251d30 of class NSCalibratedRGBColor autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.368 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x189a3d0 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.368 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x189a430 of class NSConcreteData autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.376 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1889810 of class NSCFString autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.378 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1898200 of class SDL_QuartzWindowDelegate autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.379 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x18986e0 of class NSIdEnumerator autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.384 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1889430 of class NSView autoreleased with no pool in place - just leaking
kCGErrorInvalidConnection : CGSNewWindow: Invalid connection
2002-05-24 16:46:17.385 mplayer[331] _NXCreateWindow: error creating window (1002)
kCGErrorInvalidConnection : CGSSetWindowProperty: Invalid connection
kCGErrorInvalidConnection : CGSInvalidateWindowShadow: Invalid connection
kCGErrorInvalidConnection : CGSSetWindowAlpha: Invalid connection
kCGErrorIllegalArgument : CGSLockWindowRectBits: Invalid window
kCGErrorFailure : Cannot create window/bitmap context device.
kCGErrorFailure : Failed to initialize context RIPContext.
kCGErrorFailure : CGWindowContextCreate: failed to create context.
2002-05-24 16:46:17.386 mplayer[331] _initWithWindowNumber: error creating graphics ctxt object for ctxt:0, window:-1
kCGErrorFailure : CGContextResetClip: invalid context
kCGErrorFailure : CGContextReplaceTopGState: invalid context
kCGErrorInvalidConnection : CGSGetWindowProperty: Invalid connection
kCGErrorInvalidConnection : CGSSetHideOnDeact: error getting current hide-on-deactivate state
kCGErrorInvalidConnection : CGSSetWindowProperty: Invalid connection
kCGErrorInvalidConnection : CGSSetEventMask: error setting client event mask window property
kCGErrorInvalidConnection : CGSSetWindowEventMask: Invalid connection
kCGErrorInvalidConnection : CGSSetEventMask: error setting window event mask
kCGErrorInvalidConnection : CGSSetWindowToReleaseBackingOnOrderOut: Invalid connection
2002-05-24 16:46:17.392 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1894380 of class NSCFArray autoreleased with no pool in place - just leaking
2002-05-24 16:46:17.392 mplayer[331] *** _NSAutoreleaseNoPool(): Object 0x1898a10 of class NSCFArray autoreleased with no pool in place - just leaking
kCGErrorInvalidConnection : CGSGetCurrentCursorLocation: Invalid connection

MPlayer interrupted by signal 10 in module: key_events

  • MPlayer crashed. This shouldn’t happen. It can be a bug in the MPlayer code or in your drivers or in your gcc version. If you think it’s MPlayer’s fault, please read DOCS/bugreports.html and follow instructions there. We can’t and won’t help unless you provide these informations when reporting a possible bug.
  • Are supported non standard wide-screen resolution in the fullscreen mode
    under MacOSX?

The answer is yes. SDL can switch the resolutions to any of the ones
supported by the host OS, so you should be able to do the 16:9 resolutions.

  • I attached error messages comming from mplayer with sdl after switching
    from fullscreen to window mode. Code of the vo_sdl is running under Linux
    without problems, is there some need of change? I hope not. Please help, or
    give me some hints.

The thing about toggling fullscreen, is that it works only on X11. (Read
http://sdldoc.csn.ul.ie/sdlwmtogglefullscreen.php).

Mike S. Codename: Freak901010_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

Of course, that doesn’t mean it isn’t possible in other operating systems.
I do it on Win32. I just had to make my own solution, not use the toggle
function.On Wed, Jun 05, 2002 at 07:23:40AM -0600, mike shoup wrote:

The thing about toggling fullscreen, is that it works only on X11. (Read
http://sdldoc.csn.ul.ie/sdlwmtogglefullscreen.php).


Matthew Miller @Matthew_Miller http://www.mattdm.org/
Boston University Linux ------> http://linux.bu.edu/

Hello,

I recompiled mplayer under MacOSX with SDL, but there are some
problems, which I cannot figer out…
Some question (answers are wellcome):

  • Are supported non standard wide-screen resolution in the fullscreen
    mode under MacOSX?

Whatever the displays control panel lists SDL can handle, and should be
reported in SDL_ListModes(). If not, let us know.

  • Is patched version of SDL (inspirated by VLC - look at archive of
    this conf.) already in the official CVS tree of SDL?

Yep. Checked in a few days ago.

  • I attached error messages comming from mplayer with sdl after
    switching from fullscreen to window mode. Code of the vo_sdl is running
    under Linux without problems, is there some need of change? I hope not.
    Please help, or give me some hints.

Yes. You need to use SDLMain.m/SDLMain.h. Make sure main.c/cpp of
MPlayer #includes SDL.h. Look at the template Project Builder projects
in CVS or install the devel package on libsdl.org.

For screen switching you have to call SDL_SetVideoMode() again with the
different flags. If ToggleFullscreen() is being used, change it.On Tuesday, June 4, 2002, at 03:25 PM, Klokan Petr Pridal wrote:

The thing about toggling fullscreen, is that it
works only on X11. (Read

http://sdldoc.csn.ul.ie/sdlwmtogglefullscreen.php).

Of course, that doesn’t mean it isn’t possible
in other operating systems.

I do it on Win32. I just had to make my own
solution, not use the toggle function.

Sam,
How hard would it be to make
SDL_WM_ToggleFullScreen() fall back to:

  • Copy video surface to off screen surface
  • Shut down the video subsystem
  • Reinitialize the video subsystem
  • Copy the image back to the video surface
    … on unsupported OSs?

-LorenOn Wed, Wed, 5 Jun 2002 09:45:09, Matthew Miller wrote:

On Wed, Jun 05, 2002 at 07:23:40AM -0600, mike shoup wrote:


Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

The thing about toggling fullscreen, is that it
works only on X11.
Of course, that doesn’t mean it isn’t possible
in other operating systems.

Sam,
How hard would it be to make
SDL_WM_ToggleFullScreen() fall back to:

  • Copy video surface to off screen surface
  • Shut down the video subsystem
  • Reinitialize the video subsystem
  • Copy the image back to the video surface
    … on unsupported OSs?

This would work, but not so easy if you want to detect all the possible
failure conditions. For example, what happens if you have a hardware
overlay, OpenGL surface, or hardware surface? With OpenGL textures and
hardware surfaces, those are destroyed when reinitializing the video
subsystem. Though a clever bit of hacking could prevent this, for
example detach the GL context from the drawable but retain the GL
context. But then a resolution switch probably purges the texture memory
on most cards, so this isn’t much help. In short, it seems messy and
difficult to do properly for all targets.

-DOn Wednesday, June 5, 2002, at 02:31 PM, Loren Osborn wrote:

On Wed, Wed, 5 Jun 2002 09:45:09, Matthew Miller wrote:

On Wed, Jun 05, 2002 at 07:23:40AM -0600, mike shoup wrote: