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 /libmpcodecs/vf_vo.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 'libmpcodecs/vf_vo.c')
-rw-r--r-- | libmpcodecs/vf_vo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpcodecs/vf_vo.c b/libmpcodecs/vf_vo.c index 6cf7a7a3ac..0c747beb83 100644 --- a/libmpcodecs/vf_vo.c +++ b/libmpcodecs/vf_vo.c @@ -216,8 +216,7 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts) if (vf->default_caps & VFCAP_ACCEPT_STRIDE) vo_draw_slice(video_out, mpi->planes, mpi->stride, mpi->w, mpi->h, 0, 0); - else - vo_draw_frame(video_out, mpi->planes); + // else: out of luck } return 1; } |