# HG changeset patch # User reimar # Date 1327854617 0 # Node ID d78200e50c0303c71c23d9bc8247434f36c985c3 # Parent 4f7637d076a4473a1d4269da5897de3d51c1c514 sdl: do not change caption on -wid windows. diff -r 4f7637d076a4 -r d78200e50c03 libvo/vo_sdl.c --- a/libvo/vo_sdl.c Sun Jan 29 16:27:46 2012 +0000 +++ b/libvo/vo_sdl.c Sun Jan 29 16:30:17 2012 +0000 @@ -765,9 +765,11 @@ 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);