xbmc/xbmc — pull request #780 by Memphiz (2012-03-18 13:25:23+00:00)
Title: Add TV-Out support and resolution switching for IOS/ATV2

This PR does multiple things.

It basically allows resolution switching for iOS and ATV2.

On iOS devices which are connected to a TV/LCD via TVOut adapter (hdmi,vga, component) it enables the user to switch XBMC to that external screen. When this is done the internal touch screen will behave like a remote control for controlling the XBMC instance on the LCD (swipe left,right,up,down - 1finger single tap, 2finger single tap and 2finger swipe left).

As Apple handles any ATV2 used for AirPlay mirroring as an external screen as well this will even allow mirror users to mirror the whole XBMC via the Air to the ATV2/TV. Couldn't test that because i don't have an mirror capable device, but in theory that should work :).

This PR also should take care of 1080p support for ATV3 and iPad3 (since both devices now support 1080p output that resolution will just show up in the screen settings then as usual).

I've tested this with iPad on iOS 4.3, iPod touch 4g on iOS 5.01, ATV2 on iOS4.3, ATV2 on iOS4.4.4. Both with VGA and HDMI Adapter and 4:3 (1024x768) and TV (720p) external screens.

Here is a demo video on how it looks like:

http://www.youtube.com/watch?v=eOmRHi3xbL8

Davilla should do a review and test on one of his devices when he gets time imho. Though i've done some test effort already ;)