[MPlayer-cvslog] r22353 - trunk/libvo/vo_ivtv.c

ben subversion at mplayerhq.hu
Mon Feb 26 20:08:30 CET 2007


Author: ben
Date: Mon Feb 26 20:08:29 2007
New Revision: 22353

Modified:
   trunk/libvo/vo_ivtv.c

Log:
support for new ivtv api

Modified: trunk/libvo/vo_ivtv.c
==============================================================================
--- trunk/libvo/vo_ivtv.c	(original)
+++ trunk/libvo/vo_ivtv.c	Mon Feb 26 20:08:29 2007
@@ -78,9 +78,11 @@ ivtv_reset (int blank_screen)
 {
   struct ivtv_cfg_stop_decode sd;
   struct ivtv_cfg_start_decode sd1;
+  int flags = 0;
 
-  sd.hide_last = blank_screen;
-  sd.pts_stop = 0;
+  if (blank_screen)
+    flags |= IVTV_STOP_FL_HIDE_FRAME;
+  sd.flags = flags;
  
   if (ioctl (ivtv_fd, IVTV_IOC_STOP_DECODE, &sd) < 0)
   {



More information about the MPlayer-cvslog mailing list