aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-10 10:40:34 +0000
committerGravatar cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-10 10:40:34 +0000
commit78290719a61eed47dda8c7524de93e436c7f5fd5 (patch)
tree14ece742f4479e6645174831a21330242faa8e24 /libvo
parent88d80c23615eee927c92ac5366536c307ea8c48a (diff)
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_vdpau.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c
index c11f4fa4b1..8a364763c4 100644
--- a/libvo/vo_vdpau.c
+++ b/libvo/vo_vdpau.c
@@ -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;