comparison libvo/vo_xv.c @ 36517:5d3f93051de9

Remove empty draw_slice and draw_frame stubs. Long term, draw_frame should be removed completely.
author reimar
date Sat, 18 Jan 2014 21:39:07 +0000
parents 6b08a8332561
children e788bcd9d49b
comparison
equal deleted inserted replaced
36516:b726218447c9 36517:5d3f93051de9
40 40
41 #include "config.h" 41 #include "config.h"
42 #include "mp_msg.h" 42 #include "mp_msg.h"
43 #include "help_mp.h" 43 #include "help_mp.h"
44 #include "video_out.h" 44 #include "video_out.h"
45 #define NO_DRAW_FRAME
45 #include "video_out_internal.h" 46 #include "video_out_internal.h"
46 #include "libmpcodecs/vf.h" 47 #include "libmpcodecs/vf.h"
47 48
48 49
49 #include <X11/Xlib.h> 50 #include <X11/Xlib.h>
413 else 414 else
414 memcpy_pic(dst, image[2], w, h, xvimage[current_buf]->pitches[1], 415 memcpy_pic(dst, image[2], w, h, xvimage[current_buf]->pitches[1],
415 stride[2]); 416 stride[2]);
416 417
417 return 0; 418 return 0;
418 }
419
420 static int draw_frame(uint8_t * src[])
421 {
422 return VO_ERROR;
423 } 419 }
424 420
425 static uint32_t draw_image(mp_image_t * mpi) 421 static uint32_t draw_image(mp_image_t * mpi)
426 { 422 {
427 if (mpi->flags & MP_IMGFLAG_DIRECT) 423 if (mpi->flags & MP_IMGFLAG_DIRECT)