Mercurial > mplayer.hg
diff libmpdemux/tvi_v4l2.c @ 12210:c941a2362911
specify field mode when setting image height
author | henry |
---|---|
date | Thu, 15 Apr 2004 07:19:50 +0000 |
parents | 48b5bfb25dc0 |
children | ae2f3126d7df |
line wrap: on
line diff
--- a/libmpdemux/tvi_v4l2.c Wed Apr 14 23:11:45 2004 +0000 +++ b/libmpdemux/tvi_v4l2.c Thu Apr 15 07:19:50 2004 +0000 @@ -575,6 +575,7 @@ case TVI_CONTROL_VID_SET_HEIGHT: if (getfmt(priv) < 0) return TVI_CONTROL_FALSE; priv->format.fmt.pix.height = *(int *)arg; + priv->format.fmt.pix.field = V4L2_FIELD_ANY; mp_msg(MSGT_TV, MSGL_V, "%s: set height: %d\n", info.short_name, *(int *)arg); if (ioctl(priv->video_fd, VIDIOC_S_FMT, &priv->format) < 0) {