mirror of https://github.com/mpv-player/mpv
tuner setting isn't mandatory. requested by Jonas Munsin <jmunsin@iki.fi> for webcams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7318 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cd1c1ab29d
commit
9b10afa43e
|
@ -405,9 +405,9 @@ static int init(priv_t *priv)
|
||||||
if (ioctl(priv->video_fd, VIDIOCGTUNER, &priv->tuner) == -1)
|
if (ioctl(priv->video_fd, VIDIOCGTUNER, &priv->tuner) == -1)
|
||||||
{
|
{
|
||||||
mp_msg(MSGT_TV, MSGL_ERR, "ioctl get tuner failed: %s\n", strerror(errno));
|
mp_msg(MSGT_TV, MSGL_ERR, "ioctl get tuner failed: %s\n", strerror(errno));
|
||||||
goto err;
|
priv->fps = PAL_FPS;
|
||||||
}
|
// goto err;
|
||||||
|
} else
|
||||||
switch (priv->tuner.mode) {
|
switch (priv->tuner.mode) {
|
||||||
case VIDEO_MODE_PAL:
|
case VIDEO_MODE_PAL:
|
||||||
case VIDEO_MODE_SECAM:
|
case VIDEO_MODE_SECAM:
|
||||||
|
|
Loading…
Reference in New Issue