[MPlayer-cvslog] r28736 - in trunk: DOCS/man/en/mplayer.1 libvo/vo_vdpau.c

cehoyos subversion at mplayerhq.hu
Thu Feb 26 19:20:33 CET 2009


Author: cehoyos
Date: Thu Feb 26 19:20:32 2009
New Revision: 28736

Log:
Support "D" to (de-)activate deinterlacing when using vo vdpau.

Modified:
   trunk/libvo/vo_vdpau.c

Changes in other areas also in this revision:
Modified:
   trunk/DOCS/man/en/mplayer.1

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Thu Feb 26 19:02:38 2009	(r28735)
+++ trunk/libvo/vo_vdpau.c	Thu Feb 26 19:20:32 2009	(r28736)
@@ -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:



More information about the MPlayer-cvslog mailing list