summaryrefslogtreecommitdiffstats
path: root/libvo/aspect.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/aspect.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/aspect.h')
-rw-r--r--libvo/aspect.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/libvo/aspect.h b/libvo/aspect.h
index f5ff1a8ad7..aa117833f3 100644
--- a/libvo/aspect.h
+++ b/libvo/aspect.h
@@ -37,20 +37,4 @@ void aspect_save_screenres(struct vo *vo, int scrw, int scrh);
void aspect(struct vo *vo, int *srcw, int *srch, int zoom);
void aspect_fit(struct vo *vo, int *srcw, int *srch, int fitw, int fith);
-
-#ifdef IS_OLD_VO
-#define vo_panscan_x global_vo->panscan_x
-#define vo_panscan_y global_vo->panscan_y
-#define vo_panscan_amount global_vo->panscan_amount
-#define monitor_aspect global_vo->monitor_aspect
-
-#define panscan_init() panscan_init(global_vo)
-#define panscan_calc() panscan_calc(global_vo)
-#define panscan_calc_windowed() panscan_calc_windowed(global_vo)
-#define aspect_save_orig(...) aspect_save_orig(global_vo, __VA_ARGS__)
-#define aspect_save_prescale(...) aspect_save_prescale(global_vo, __VA_ARGS__)
-#define aspect_save_screenres(...) aspect_save_screenres(global_vo, __VA_ARGS__)
-#define aspect(...) aspect(global_vo, __VA_ARGS__)
-#endif
-
#endif /* MPLAYER_ASPECT_H */