mediaplayer: minor fixes