summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-24 06:58:16 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-25 03:34:27 +0300
commit41d6879236d2792300c57fc9825878ba4f634edd (patch)
tree9337292455a56327674a442018dcf1597f1b549d /libmpcodecs/vd.c
parent342ae8d3b5597d59e6a3650ca78ed7f1eb070c4e (diff)
downloadmpv-41d6879236d2792300c57fc9825878ba4f634edd.tar.bz2
mpv-41d6879236d2792300c57fc9825878ba4f634edd.tar.xz
Move fullscreen to options struct
Diffstat (limited to 'libmpcodecs/vd.c')
-rw-r--r--libmpcodecs/vd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c
index a94ac9ff85..4362b2360a 100644
--- a/libmpcodecs/vd.c
+++ b/libmpcodecs/vd.c
@@ -5,6 +5,7 @@
#include "config.h"
#include "mp_msg.h"
#include "help_mp.h"
+#include "options.h"
#ifdef HAVE_MALLOC_H
#include <malloc.h>
@@ -110,7 +111,6 @@ vd_functions_t* mpcodecs_vd_drivers[] = {
#include "libvo/video_out.h"
// libvo opts:
-int fullscreen=0;
int vidmode=0;
int softzoom=0;
int flip=-1;
@@ -291,7 +291,7 @@ csp_again:
}
}
- vocfg_flags = (fullscreen ? VOFLAG_FULLSCREEN:0)
+ vocfg_flags = (opts->fullscreen ? VOFLAG_FULLSCREEN:0)
| (vidmode ? VOFLAG_MODESWITCHING:0)
| (softzoom ? VOFLAG_SWSCALE:0)
| (flip ? VOFLAG_FLIPPING:0);