revised query_format

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6208 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-05-27 17:18:06 +00:00
parent 7829f8bba4
commit fd23331df9
1 changed files with 2 additions and 1 deletions

View File

@ -468,12 +468,13 @@ flip_page(void)
static uint32_t
query_format(uint32_t format)
{
/* does this supports scaling? up & down? */
switch(format){
case IMGFMT_YV12:
// case IMGFMT_YUY2:
// case IMGFMT_RGB|24:
// case IMGFMT_BGR|24:
return 1;
return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW;
}
return 0;
}