diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-26 21:10:50 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-26 21:10:50 +0000 |
commit | 7effefff20ff6a11aa22d77bedf80dfc53025973 (patch) | |
tree | bfa5d0be5778b37b1f9d6ebfcad77da846bf6cb3 /libvo | |
parent | f7e89b57fa42cbb380e55905b77f5ca5711766d7 (diff) | |
download | mpv-7effefff20ff6a11aa22d77bedf80dfc53025973.tar.bz2 mpv-7effefff20ff6a11aa22d77bedf80dfc53025973.tar.xz |
use a more generic ioctl as the one used was deprecated with Linux 2.6.18 kernel
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19984 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_ivtv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_ivtv.c b/libvo/vo_ivtv.c index 253cffefbb..f17de21ef1 100644 --- a/libvo/vo_ivtv.c +++ b/libvo/vo_ivtv.c @@ -82,7 +82,7 @@ ivtv_reset (int blank_screen) 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 @@ ivtv_reset (int blank_screen) 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)); |