diff options
author | Johns <johns98@gmx.net> | 2012-04-11 12:15:12 +0200 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-04-11 12:15:12 +0200 |
commit | aeae505bd4949791dcd38f6fb28706ac52f9b5ea (patch) | |
tree | f97bc0a140a96e458c46a5a9df1117453eeae981 /video.c | |
parent | e10e62dcf72932641a05124304344607bed832ff (diff) | |
download | vdr-plugin-softhddevice-aeae505bd4949791dcd38f6fb28706ac52f9b5ea.tar.gz vdr-plugin-softhddevice-aeae505bd4949791dcd38f6fb28706ac52f9b5ea.tar.bz2 |
Adds Hot-key support for 4:3 zoom modes.
Diffstat (limited to 'video.c')
-rw-r--r-- | video.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |