comparison libvo/vo_png.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 cd83754e4f3a
children 88b4aa330150
comparison
equal deleted inserted replaced
36516:b726218447c9 36517:5d3f93051de9
34 #include "fmt-conversion.h" 34 #include "fmt-conversion.h"
35 #include "mp_core.h" 35 #include "mp_core.h"
36 #include "mp_msg.h" 36 #include "mp_msg.h"
37 #include "help_mp.h" 37 #include "help_mp.h"
38 #include "video_out.h" 38 #include "video_out.h"
39 #define NO_DRAW_FRAME
40 #define NO_DRAW_SLICE
39 #include "video_out_internal.h" 41 #include "video_out_internal.h"
40 #include "subopt-helper.h" 42 #include "subopt-helper.h"
41 #include "libavcodec/avcodec.h" 43 #include "libavcodec/avcodec.h"
42 44
43 #define BUFLENGTH 512 45 #define BUFLENGTH 512
189 191
190 static void draw_osd(void){} 192 static void draw_osd(void){}
191 193
192 static void flip_page (void){} 194 static void flip_page (void){}
193 195
194 static int draw_frame(uint8_t * src[])
195 {
196 return -1;
197 }
198
199 static int draw_slice( uint8_t *src[],int stride[],int w,int h,int x,int y )
200 {
201 return -1;
202 }
203
204 static int 196 static int
205 query_format(uint32_t format) 197 query_format(uint32_t format)
206 { 198 {
207 const int supported_flags = VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_ACCEPT_STRIDE; 199 const int supported_flags = VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_ACCEPT_STRIDE;
208 switch(format){ 200 switch(format){