Mercurial > mplayer.hg
diff libvo/vo_png.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 | 3f218f3172f3 |
children | 7d2542838d24 |
line wrap: on
line diff
--- a/libvo/vo_png.c Thu Oct 10 00:04:25 2002 +0000 +++ b/libvo/vo_png.c Thu Oct 10 00:09:34 2002 +0000 @@ -284,10 +284,10 @@ case IMGFMT_IYUV: case IMGFMT_I420: case IMGFMT_YV12: - return VFCAP_CSP_SUPPORTED|VFCAP_OSD; + return VFCAP_CSP_SUPPORTED|VFCAP_OSD|VFCAP_ACCEPT_STRIDE; case IMGFMT_RGB|24: case IMGFMT_BGR|24: - return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW; + return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_ACCEPT_STRIDE; } return 0; }