summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-26 18:20:32 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-26 18:20:32 +0000
commit2614be14cc819546c28a9204848ec3980789df4e (patch)
tree59898377d1dc5f16122d3bb951c895d470bb3c0c /libvo
parent1a608bf2bdd574c7a2d2353f55ac354e3a43075d (diff)
downloadmpv-2614be14cc819546c28a9204848ec3980789df4e.tar.bz2
mpv-2614be14cc819546c28a9204848ec3980789df4e.tar.xz
Support "D" to (de-)activate deinterlacing when using vo vdpau.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28736 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_vdpau.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c
index b06fe319fa..67db014bad 100644
--- a/libvo/vo_vdpau.c
+++ b/libvo/vo_vdpau.c
@@ -1012,6 +1012,13 @@ static int preinit(const char *arg)
static int control(uint32_t request, void *data, ...)
{
switch (request) {
+ case VOCTRL_GET_DEINTERLACE:
+ *(int*)data = deint;
+ return VO_TRUE;
+ case VOCTRL_SET_DEINTERLACE:
+ deint = *(int*)data;
+printf("Set to %d. \n", deint);
+ return VO_TRUE;
case VOCTRL_PAUSE:
return (int_pause = 1);
case VOCTRL_RESUME: