Mercurial > mplayer.hg
comparison libvo/vosub_vidix.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 | 486b56f4b0f3 |
children | 772d6d27fd66 |
comparison
equal
deleted
inserted
replaced
7693:3f218f3172f3 | 7694:b64f14fdadfb |
---|---|
351 if(verbose > 1) printf("vosub_vidix: query_format was called: %x (%s)\n",format,vo_format_name(format)); | 351 if(verbose > 1) printf("vosub_vidix: query_format was called: %x (%s)\n",format,vo_format_name(format)); |
352 vidix_fourcc.fourcc = format; | 352 vidix_fourcc.fourcc = format; |
353 vdlQueryFourcc(vidix_handler,&vidix_fourcc); | 353 vdlQueryFourcc(vidix_handler,&vidix_fourcc); |
354 if (vidix_fourcc.depth == VID_DEPTH_NONE) | 354 if (vidix_fourcc.depth == VID_DEPTH_NONE) |
355 return 0; | 355 return 0; |
356 return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_HWSCALE_UP|VFCAP_HWSCALE_DOWN|VFCAP_OSD; | 356 return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_HWSCALE_UP|VFCAP_HWSCALE_DOWN|VFCAP_OSD|VFCAP_ACCEPT_STRIDE; |
357 } | 357 } |
358 | 358 |
359 int vidix_grkey_support(void) | 359 int vidix_grkey_support(void) |
360 { | 360 { |
361 return(vidix_fourcc.flags & VID_CAP_COLORKEY); | 361 return(vidix_fourcc.flags & VID_CAP_COLORKEY); |