diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-10 00:09:34 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-10 00:09:34 +0000 |
commit | 6a2c0db5e5b583543fc207bcacb0f194ddd2e90f (patch) | |
tree | f78a1a1612e453199af494f62dbc26e2629c973b /libvo/vo_png.c | |
parent | f5dd264b514b50d3b079c45ff2add42dee7b3ba2 (diff) | |
download | mpv-6a2c0db5e5b583543fc207bcacb0f194ddd2e90f.tar.bz2 mpv-6a2c0db5e5b583543fc207bcacb0f194ddd2e90f.tar.xz |
also set VFCAP_ACCEPT_STRIDE when draw_image() is implemented
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7695 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_png.c')
-rw-r--r-- | libvo/vo_png.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_png.c b/libvo/vo_png.c index e3e0523e85..3f4044cd44 100644 --- a/libvo/vo_png.c +++ b/libvo/vo_png.c @@ -284,10 +284,10 @@ query_format(uint32_t format) 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; } |