From f4f06018b973c36869e1b37fc65fa7999c15a055 Mon Sep 17 00:00:00 2001 From: ranma Date: Mon, 23 Feb 2004 21:12:06 +0000 Subject: A bit late, but here's the "more sane options ordering" patch. Also fixes the supported formats. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11992 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_kerndeint.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'libmpcodecs/vf_kerndeint.c') diff --git a/libmpcodecs/vf_kerndeint.c b/libmpcodecs/vf_kerndeint.c index a383996bfb..accb370bfe 100644 --- a/libmpcodecs/vf_kerndeint.c +++ b/libmpcodecs/vf_kerndeint.c @@ -281,12 +281,8 @@ static int query_format(struct vf_instance_s* vf, unsigned int fmt){ 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 @@ static int open(vf_instance_t *vf, char* args){ 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; -- cgit v1.2.3