Disabling the screen dimming (while mplayer is running) is done by calling a function which blocks the screen timeout for 1 minute; this is called something like (iirc) every 30 seconds, so it would be a minimum of 30 to 60 seconds after mplayer exits till screen dimming would be expected to act normally. Are your troubles occurring in this time window, or later?