diff options
author | wm4 <wm4@nowhere> | 2012-08-07 01:26:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-07 01:29:56 +0200 |
commit | 22872451369fe219990c6280fc0d1c0c0c344b55 (patch) | |
tree | d65954cf2d3bf4e66c96a5cbb5ccebdc0305e3a4 /libvo/video_out.c | |
parent | f3bb6692c728bd05f567fe1ca53902ec41bec235 (diff) | |
download | mpv-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/video_out.c')
-rw-r--r-- | libvo/video_out.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c index 5ae219093f..218dd36d1b 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -33,7 +33,6 @@ #include "video_out.h" #include "aspect.h" #include "geometry.h" -#include "old_vo_wrapper.h" #include "input/input.h" #include "mp_fifo.h" #include "m_config.h" @@ -219,14 +218,6 @@ void vo_skip_frame(struct vo *vo) vo->frame_loaded = false; } -int vo_draw_frame(struct vo *vo, uint8_t *src[]) -{ - assert(!vo->driver->is_new); - if (!vo->config_ok) - return 0; - return old_vo_draw_frame(vo, src); -} - int vo_draw_slice(struct vo *vo, uint8_t *src[], int stride[], int w, int h, int x, int y) { return vo->driver->draw_slice(vo, src, stride, w, h, x, y); |