# HG changeset patch # User henry # Date 1082013590 0 # Node ID c941a2362911ca6ce6b984bbc5aecb0f22229d62 # Parent 3baef37d3b7c97c4bdff1a941e2ec78e1de20166 specify field mode when setting image height diff -r 3baef37d3b7c -r c941a2362911 libmpdemux/tvi_v4l2.c --- 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) {