diff options
Diffstat (limited to 'video/out/vo_xv.c')
-rw-r--r-- | video/out/vo_xv.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index a17fb2df13..985a528d76 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -445,9 +445,7 @@ static void draw_image(struct vo *vo, mp_image_t *mpi) { struct xvctx *ctx = vo->priv; - if (mpi->flags & MP_IMGFLAG_DRAW_CALLBACK) - ; // done - else if (mpi->flags & MP_IMGFLAG_PLANAR) + if (mpi->flags & MP_IMGFLAG_PLANAR) draw_slice(vo, mpi->planes, mpi->stride, mpi->w, mpi->h, 0, 0); else if (mpi->flags & MP_IMGFLAG_YUV) // packed YUV: @@ -694,7 +692,6 @@ const struct vo_driver video_out_xv = { .config = config, .control = control, .draw_image = draw_image, - .draw_slice = draw_slice, .draw_osd = draw_osd, .flip_page = flip_page, .check_events = check_events, |