diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-28 21:16:12 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-28 21:16:12 +0000 |
commit | f73a875f011a53d73d189b51324095cd65221363 (patch) | |
tree | e8dafd93fc52beac321d5263f5371e8fe063c481 /Gui/mplayer/mw.h | |
parent | fd0aba17d562ebfd23933875f82929323a97645a (diff) | |
download | mpv-f73a875f011a53d73d189b51324095cd65221363.tar.bz2 mpv-f73a875f011a53d73d189b51324095cd65221363.tar.xz |
add aspect changing support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7542 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/mw.h')
-rw-r--r-- | Gui/mplayer/mw.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Gui/mplayer/mw.h b/Gui/mplayer/mw.h index 7500413456..f3eff2b12e 100644 --- a/Gui/mplayer/mw.h +++ b/Gui/mplayer/mw.h @@ -447,6 +447,19 @@ set_volume: mplFullScreen(); break; + case evSetAspect: + switch ( (int)param ) + { + case 2: movie_aspect=16.0f / 9.0f; break; + case 3: movie_aspect=4.0f / 3.0f; break; + case 4: movie_aspect=2.35; break; + case 1: + default: movie_aspect=-1; + } + guiIntfStruct.FilenameChanged=1; + wsClearWindow( appMPlayer.subWindow ); + break; + // --- timer events case evRedraw: mplMainRender=1; |