Mercurial > mplayer.hg
changeset 34552:d78200e50c03
sdl: do not change caption on -wid windows.
author | reimar |
---|---|
date | Sun, 29 Jan 2012 16:30:17 +0000 |
parents | 4f7637d076a4 |
children | 9ba2da76a0e0 |
files | libvo/vo_sdl.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);