comparison libvo/vo_png.c @ 7694:b64f14fdadfb

also set VFCAP_ACCEPT_STRIDE when draw_image() is implemented
author arpi
date Thu, 10 Oct 2002 00:09:34 +0000
parents 3f218f3172f3
children 7d2542838d24
comparison
equal deleted inserted replaced
7693:3f218f3172f3 7694:b64f14fdadfb
282 { 282 {
283 switch(format){ 283 switch(format){
284 case IMGFMT_IYUV: 284 case IMGFMT_IYUV:
285 case IMGFMT_I420: 285 case IMGFMT_I420:
286 case IMGFMT_YV12: 286 case IMGFMT_YV12:
287 return VFCAP_CSP_SUPPORTED|VFCAP_OSD; 287 return VFCAP_CSP_SUPPORTED|VFCAP_OSD|VFCAP_ACCEPT_STRIDE;
288 case IMGFMT_RGB|24: 288 case IMGFMT_RGB|24:
289 case IMGFMT_BGR|24: 289 case IMGFMT_BGR|24:
290 return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW; 290 return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_ACCEPT_STRIDE;
291 } 291 }
292 return 0; 292 return 0;
293 } 293 }
294 294
295 static void 295 static void