diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-09 15:43:51 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-09 15:43:51 +0000 |
commit | a93f56abeb087ac5543764e5ccd3348b10acb395 (patch) | |
tree | 4948d9250d8b0ec9200fc355bb84b15259d41d0e | |
parent | ab3f56987f7f26e5a8fcb81c0236e4c514110ba9 (diff) |
Use SetErrorMode so Windows will not show all kinds of error dialogs
we do not want.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28497 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2592,6 +2592,8 @@ int gui_no_filename=0; #endif #if defined(__MINGW32__) || defined(__CYGWIN__) + // stop Windows from showing all kinds of annoying error dialogs + SetErrorMode(0x8003); // request 1ms timer resolution timeBeginPeriod(1); if(proc_priority){ |