summaryrefslogtreecommitdiffstats
path: root/libvo/old_vo_defines.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-07 01:26:11 +0200
committerwm4 <wm4@nowhere>2012-08-07 01:29:56 +0200
commit22872451369fe219990c6280fc0d1c0c0c344b55 (patch)
treed65954cf2d3bf4e66c96a5cbb5ccebdc0305e3a4 /libvo/old_vo_defines.h
parentf3bb6692c728bd05f567fe1ca53902ec41bec235 (diff)
downloadmpv-22872451369fe219990c6280fc0d1c0c0c344b55.tar.bz2
mpv-22872451369fe219990c6280fc0d1c0c0c344b55.tar.xz
VO: remove old VO glue
This transition to a new VO API started over 4 years ago. It's time to finally end it, and get rid of the horrible hacks. Also removes some previously undetected dead code from spudec.c.
Diffstat (limited to 'libvo/old_vo_defines.h')
-rw-r--r--libvo/old_vo_defines.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/libvo/old_vo_defines.h b/libvo/old_vo_defines.h
deleted file mode 100644
index feded12d5b..0000000000
--- a/libvo/old_vo_defines.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef MPLAYER_OLD_VO_DEFINES_H
-#define MPLAYER_OLD_VO_DEFINES_H
-
-#include "options.h"
-#include "video_out.h"
-#include "old_vo_wrapper.h"
-
-// Triggers more defines in x11_common.h
-#define IS_OLD_VO 1
-
-#define vo_ontop global_vo->opts->vo_ontop
-#define vo_config_count global_vo->config_count
-#define vo_dx global_vo->dx
-#define vo_dy global_vo->dy
-#define vo_dwidth global_vo->dwidth
-#define vo_dheight global_vo->dheight
-#define vo_dbpp global_vo->opts->vo_dbpp
-#define vo_screenwidth global_vo->opts->vo_screenwidth
-#define vo_screenheight global_vo->opts->vo_screenheight
-#define vidmode global_vo->opts->vidmode
-#define movie_aspect global_vo->opts->movie_aspect
-
-#define calc_src_dst_rects(...) calc_src_dst_rects(global_vo, __VA_ARGS__)
-#endif