1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 22:30:22 +00:00

make aspect recognize -noaspect

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10908 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
attila 2003-09-21 11:56:09 +00:00
parent dbe00d6425
commit 386e88d918

View File

@ -17,6 +17,7 @@ float vo_panscan_amount = 0;
#include "video_out.h"
float monitor_aspect=4.0/3.0;
extern float movie_aspect;
static struct {
int orgw; // real width
@ -59,6 +60,7 @@ void aspect_save_screenres(int scrw, int scrh){
void aspect(int *srcw, int *srch, int zoom){
int tmpw;
if(movie_aspect == 0) return; // the user doesnt want to fix aspect
#ifdef ASPECT_DEBUG
printf("aspect(0) fitin: %dx%d zoom: %d screenaspect: %.2f\n",aspdat.scrw,aspdat.scrh,
zoom,monitor_aspect);