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

ben subversion at mplayerhq.hu
Tue Sep 26 23:10:50 CEST 2006


Author: ben
Date: Tue Sep 26 23:10:50 2006
New Revision: 19984

Modified:
   trunk/libvo/vo_ivtv.c

Log:
use a more generic ioctl as the one used was deprecated with Linux 2.6.18 kernel

Modified: trunk/libvo/vo_ivtv.c
==============================================================================
--- trunk/libvo/vo_ivtv.c	(original)
+++ trunk/libvo/vo_ivtv.c	Tue Sep 26 23:10:50 2006
@@ -82,7 +82,7 @@
   sd.hide_last = blank_screen;
   sd.pts_stop = 0;
  
-  if (ioctl (ivtv_fd, IVTV_IOC_S_STOP_DECODE, &sd) < 0)
+  if (ioctl (ivtv_fd, IVTV_IOC_STOP_DECODE, &sd) < 0)
   {
     mp_msg (MSGT_VO, MSGL_ERR,
             "IVTV_IOC_STOP_DECODE: %s\n", strerror (errno));
@@ -92,7 +92,7 @@
   sd1.gop_offset = 0;
   sd1.muted_audio_frames = 0;
   
-  if (ioctl (ivtv_fd, IVTV_IOC_S_START_DECODE, &sd1) < 0)
+  if (ioctl (ivtv_fd, IVTV_IOC_START_DECODE, &sd1) < 0)
   {
     mp_msg (MSGT_VO, MSGL_ERR,
             "IVTV_IOC_START_DECODE: %s\n", strerror (errno));



More information about the MPlayer-cvslog mailing list