summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video.c')
-rw-r--r--video.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/video.c b/video.c
index a5a7b12..9433c9c 100644
--- a/video.c
+++ b/video.c
@@ -9592,6 +9592,8 @@ void VideoSetVideoMode( __attribute__ ((unused))
///
/// Set video display format.
///
+/// @param format video format (stretch, normal, center cut-out)
+///
void VideoSetDisplayFormat(int format)
{
VideoOsdExit();
@@ -9600,6 +9602,9 @@ void VideoSetDisplayFormat(int format)
VideoThreadLock();
switch (format) {
+ case -1: // rotate settings
+ Video4to3ZoomMode = (Video4to3ZoomMode + 1) % VideoCenterCutOut;
+ break;
case 0: // pan&scan (we have no pan&scan)
Video4to3ZoomMode = VideoStretch;
break;