I'm not sure about 1.2 but in version 1.3 you can call:
[source lang="cpp"]SDL_DisplayMode mode;SDL_GetDisplayMode(mode_index, &mode);[/source]
Which will give you the SDL_DisplayMode struct containing format, width, height, refresh rate.