summaryrefslogtreecommitdiffstats
path: root/libvo/vo_vdpau.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_vdpau.c')
-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: