aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
diff options
context:
space:
mode:
authorGravatar Uoti Urpala <uau@symbol.nonexistent.invalid>2008-04-24 07:36:43 +0300
committerGravatar Uoti Urpala <uau@symbol.nonexistent.invalid>2008-04-25 03:34:28 +0300
commit60e2c8604d29963e8b4a4dc5f506a3886c58202d (patch)
tree816b4ecc2226d62d3bad9d084458026dbd1cf280 /libmpcodecs
parent0a39709c15890161388e6d32cceea2ff3350aa82 (diff)
Move movie_aspect to options struct
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c
index 3f25e7642e..49f164648c 100644
--- a/libmpcodecs/vd.c
+++ b/libmpcodecs/vd.c
@@ -111,7 +111,6 @@ vd_functions_t* mpcodecs_vd_drivers[] = {
#include "libvo/video_out.h"
// libvo opts:
-float movie_aspect=-1.0;
int vo_flags=0;
int vd_use_slices=1;
@@ -242,7 +241,7 @@ csp_again:
// time to do aspect ratio corrections...
- if(movie_aspect>-1.0) sh->aspect = movie_aspect; // cmdline overrides autodetect
+ if(opts->movie_aspect>-1.0) sh->aspect = opts->movie_aspect; // cmdline overrides autodetect
else if(sh->stream_aspect!=0.0) sh->aspect = sh->stream_aspect;
// if(!sh->aspect) sh->aspect=1.0;