diff options
Diffstat (limited to 'libvo/vo_fsdga.c')
-rw-r--r-- | libvo/vo_fsdga.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libvo/vo_fsdga.c b/libvo/vo_fsdga.c index 2e18bd1f73..f720c34aca 100644 --- a/libvo/vo_fsdga.c +++ b/libvo/vo_fsdga.c @@ -1,4 +1,3 @@ -#define DISP /* * video_out_dga.c, X11 interface @@ -281,9 +280,9 @@ static uint32_t query_format( uint32_t format ) if( !vo_init() ) return 0; // Can't open X11 printf("Format: %lx\n", (unsigned long) format); - if( format==IMGFMT_YV12 ) return 1; + if( format==IMGFMT_YV12 ) return VFCAP_CSP_SUPPORTED; if( ( format&IMGFMT_BGR_MASK )==IMGFMT_BGR && - ( format&0xFF )==vo_depthonscreen ) return 1; + ( format&0xFF )==vo_depthonscreen ) return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW; return 0; } |