comparison libmpdemux/tvi_v4l2.c @ 10735:8a10d5d0ce86

serious bugs - 1l absinth (changed to absinth against cola inflation)
author alex
date Sun, 31 Aug 2003 18:51:05 +0000
parents 1d991eb5cf02
children 80402283a017
comparison
equal deleted inserted replaced
10734:b105d7aba10d 10735:8a10d5d0ce86
656 set_mute(priv, 0); 656 set_mute(priv, 0);
657 } 657 }
658 #endif 658 #endif
659 return TVI_CONTROL_TRUE; 659 return TVI_CONTROL_TRUE;
660 case TVI_CONTROL_TUN_GET_TUNER: 660 case TVI_CONTROL_TUN_GET_TUNER:
661 mp_msg(MSGT_TV, MSGL_V, "%s: get tuner\n"); 661 mp_msg(MSGT_TV, MSGL_V, "%s: get tuner\n",info.short_name);
662 if (ioctl(priv->video_fd, VIDIOC_G_TUNER, &priv->tuner) < 0) { 662 if (ioctl(priv->video_fd, VIDIOC_G_TUNER, &priv->tuner) < 0) {
663 mp_msg(MSGT_TV, MSGL_ERR, "%s: ioctl get tuner failed: %s\n", 663 mp_msg(MSGT_TV, MSGL_ERR, "%s: ioctl get tuner failed: %s\n",
664 info.short_name, strerror(errno)); 664 info.short_name, strerror(errno));
665 return TVI_CONTROL_FALSE; 665 return TVI_CONTROL_FALSE;
666 } 666 }
667 return TVI_CONTROL_TRUE; 667 return TVI_CONTROL_TRUE;
668 case TVI_CONTROL_TUN_SET_TUNER: 668 case TVI_CONTROL_TUN_SET_TUNER:
669 mp_msg(MSGT_TV, MSGL_V, "%s: set tuner\n"); 669 mp_msg(MSGT_TV, MSGL_V, "%s: set tuner\n",info.short_name);
670 if (ioctl(priv->video_fd, VIDIOC_S_TUNER, &priv->tuner) < 0) { 670 if (ioctl(priv->video_fd, VIDIOC_S_TUNER, &priv->tuner) < 0) {
671 mp_msg(MSGT_TV, MSGL_ERR, "%s: ioctl set tuner failed: %s\n", 671 mp_msg(MSGT_TV, MSGL_ERR, "%s: ioctl set tuner failed: %s\n",
672 info.short_name, strerror(errno)); 672 info.short_name, strerror(errno));
673 return TVI_CONTROL_FALSE; 673 return TVI_CONTROL_FALSE;
674 } 674 }