mirror of https://github.com/mpv-player/mpv
Let mplayer handle signals so terminal gets cleaned up.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4343 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
12fbdcb9ff
commit
8fcddee536
|
@ -354,7 +354,7 @@ static int sdl_open (void *plugin, void *name)
|
|||
priv->bpp = 0;
|
||||
|
||||
/* initialize the SDL Video system */
|
||||
if (SDL_Init (SDL_INIT_VIDEO/*|SDL_INIT_NOPARACHUTE*/)) {
|
||||
if (SDL_Init (SDL_INIT_VIDEO|SDL_INIT_NOPARACHUTE)) {
|
||||
printf("SDL: Initializing of SDL failed: %s.\n", SDL_GetError());
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue