diff options
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r-- | libvo/vo_xmga.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c index 0d995cad4c..35c4850d82 100644 --- a/libvo/vo_xmga.c +++ b/libvo/vo_xmga.c @@ -189,6 +189,10 @@ static uint32_t init( uint32_t width, uint32_t height, uint32_t d_width, uint32_ mga_vid_config.format=MGA_VID_FORMAT_YUY2; mga_vid_config.frame_size=( ( width + 31 ) & ~31 ) * height * 2; break; + case IMGFMT_UYVY: + mga_vid_config.format=MGA_VID_FORMAT_UYVY; + mga_vid_config.frame_size=( ( width + 31 ) & ~31 ) * height * 2; + break; default: fprintf(stderr,"mga: invalid output format %0X\n",format); return (-1); } |