revised query_format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6208 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
1 parent
7829f8bba4
commit
fd23331df9
1 file changed
+2
-1
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user