r34640 - trunk/libvo/vo_sdl.c
Author: reimar Date: Sun Jan 29 17:30:17 2012 New Revision: 34640 Log: sdl: do not change caption on -wid windows. Modified: trunk/libvo/vo_sdl.c Modified: trunk/libvo/vo_sdl.c ============================================================================== --- trunk/libvo/vo_sdl.c Sun Jan 29 17:27:46 2012 (r34639) +++ trunk/libvo/vo_sdl.c Sun Jan 29 17:30:17 2012 (r34640) @@ -765,9 +765,11 @@ config(uint32_t width, uint32_t height, if (sdl_open(NULL, NULL) != 0) return -1; + if (WinID < 0) { /* Set output window title */ SDL_WM_SetCaption (".: MPlayer : F = Fullscreen/Windowed : C = Cycle Fullscreen Resolutions :.", title); //SDL_WM_SetCaption (title, title); + } if(priv->X) { aspect_save_screenres(priv->XWidth,priv->XHeight);
participants (1)
-
reimar