Mercurial > mplayer.hg
comparison Gui/interface.c @ 5945:f9fe22a52e80
fix aspect ratio handling
author | pontscho |
---|---|
date | Fri, 03 May 2002 13:12:46 +0000 |
parents | 0132c5747e8a |
children | caac20b1ca79 |
comparison
equal
deleted
inserted
replaced
5944:1faf2566907b | 5945:f9fe22a52e80 |
---|---|
97 break; | 97 break; |
98 case guiSetShVideo: | 98 case guiSetShVideo: |
99 if ( arg ) | 99 if ( arg ) |
100 { | 100 { |
101 tmp_sh_video_t * sh_video = (tmp_sh_video_t *)arg; | 101 tmp_sh_video_t * sh_video = (tmp_sh_video_t *)arg; |
102 mplResizeToMovieSize( sh_video->disp_w,sh_video->disp_h ); | 102 mplResizeToMovieSize( vo_dwidth,vo_dheight ); |
103 guiIntfStruct.MovieWidth=sh_video->disp_w; | 103 guiIntfStruct.MovieWidth=sh_video->disp_w; |
104 guiIntfStruct.MovieHeight=sh_video->disp_h; | 104 guiIntfStruct.MovieHeight=sh_video->disp_h; |
105 } | 105 } |
106 break; | 106 break; |
107 #ifdef USE_DVDREAD | 107 #ifdef USE_DVDREAD |