[Mplayer-cvslog] CVS: main/libmpcodecs vf_kerndeint.c,1.2,1.3

Tobias Diedrich CVS syncmail at mplayerhq.hu
Mon Feb 23 22:12:08 CET 2004


CVS change done by Tobias Diedrich CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv937/libmpcodecs

Modified Files:
	vf_kerndeint.c 
Log Message:
A bit late, but here's the "more sane options ordering" patch.
Also fixes the supported formats.


Index: vf_kerndeint.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_kerndeint.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vf_kerndeint.c	29 Jan 2004 17:36:16 -0000	1.2
+++ vf_kerndeint.c	23 Feb 2004 21:12:06 -0000	1.3
@@ -281,12 +281,8 @@
         switch(fmt)
 	{
 	case IMGFMT_YV12:
-	case IMGFMT_I420:
-	case IMGFMT_IYUV:
-	case IMGFMT_YVU9:
-	case IMGFMT_444P:
-	case IMGFMT_422P:
-	case IMGFMT_411P:
+	case IMGFMT_RGB:
+	case IMGFMT_YUY2:
 		return vf_next_query_format(vf, fmt);
 	}
 	return 0;
@@ -314,8 +310,8 @@
         if (args)
         {
             sscanf(args, "%d:%d:%d:%d:%d",
-		&vf->priv->map, &vf->priv->order,
-		&vf->priv->thresh, &vf->priv->sharp,
+		&vf->priv->thresh, &vf->priv->map,
+		&vf->priv->order, &vf->priv->sharp,
 		&vf->priv->twoway);
         }
 	if (vf->priv->order > 1) vf->priv->order = 1;




More information about the MPlayer-cvslog mailing list