X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/0a826ed1dc53b57babc1ddeec7aa4d3a2cf22bfc..2f9441a67c7ed9630bb8875a179928ea4788fd80:/lib/driver/avswitch.cpp diff --git a/lib/driver/avswitch.cpp b/lib/driver/avswitch.cpp index 8197acc7..f9144f24 100644 --- a/lib/driver/avswitch.cpp +++ b/lib/driver/avswitch.cpp @@ -105,10 +105,12 @@ void eAVSwitch::setAspectRatio(int ratio) 1-4:3 PanScan 2-16:9 3-16:9 forced + 4-16:9 Letterbox + 5-16:9 PanScan */ - char *aspect[] = {"4:3", "4:3", "any", "16:9"}; - char *policy[] = {"letterbox", "panscan", "bestfit", "panscan"}; + char *aspect[] = {"4:3", "4:3", "any", "16:9", "16:10", "16:10"}; + char *policy[] = {"letterbox", "panscan", "bestfit", "panscan", "letterbox", "panscan"}; int fd; if((fd = open("/proc/stb/video/aspect", O_WRONLY)) < 0) { @@ -152,6 +154,8 @@ void eAVSwitch::setVideomode(int mode) break; } close(fd); + + m_video_mode = mode; } void eAVSwitch::setWSS(int val) // 0 = auto, 1 = auto(4:3_off)