summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_vo.c
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 /libmpcodecs/vf_vo.c
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 'libmpcodecs/vf_vo.c')
-rw-r--r--libmpcodecs/vf_vo.c3
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;
}