[Mplayer-cvslog] CVS: main/libmpdemux tvi_v4l2.c,1.13,1.14

Jindrich Makovicka CVS syncmail at mplayerhq.hu
Thu Apr 15 09:19:52 CEST 2004


CVS change done by Jindrich Makovicka CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv12535

Modified Files:
	tvi_v4l2.c 
Log Message:
specify field mode when setting image height

Index: tvi_v4l2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tvi_v4l2.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- tvi_v4l2.c	25 Feb 2004 11:52:40 -0000	1.13
+++ tvi_v4l2.c	15 Apr 2004 07:19:50 -0000	1.14
@@ -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) {




More information about the MPlayer-cvslog mailing list