1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00

100: Fix function parameters when calling create_vdp_decoder() from query_format().

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29872 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
cehoyos 2009-11-10 10:40:34 +00:00
parent 88d80c2361
commit 78290719a6

View File

@ -1112,7 +1112,7 @@ static int query_format(uint32_t format)
case IMGFMT_VDPAU_H264:
case IMGFMT_VDPAU_WMV3:
case IMGFMT_VDPAU_VC1:
if (create_vdp_decoder(image_format, vid_width, vid_height, 2))
if (create_vdp_decoder(format, 48, 48, 2))
return default_flags;
}
return 0;