changeset 22335:2f43fee89f0e

support for new ivtv api
author ben
date Mon, 26 Feb 2007 19:08:29 +0000
parents 1c7f753ef2c9
children 760c74c078ce
files libvo/vo_ivtv.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_ivtv.c	Mon Feb 26 17:21:17 2007 +0000
+++ b/libvo/vo_ivtv.c	Mon Feb 26 19:08:29 2007 +0000
@@ -78,9 +78,11 @@
 {
   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)
   {