Mercurial > mplayer.hg
changeset 12210:c941a2362911
specify field mode when setting image height
author | henry |
---|---|
date | Thu, 15 Apr 2004 07:19:50 +0000 |
parents | 3baef37d3b7c |
children | 78ef87bd576d |
files | libmpdemux/tvi_v4l2.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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) {