Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mBG9UVUW022639 for ; Tue, 16 Dec 2008 04:30:31 -0500 Received: from mail05.idc.renesas.com (mail.renesas.com [202.234.163.13]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id mBG9UJ24000992 for ; Tue, 16 Dec 2008 04:30:20 -0500 Date: Tue, 16 Dec 2008 18:30:13 +0900 From: morimoto.kuninori@renesas.com In-reply-to: To: Guennadi Liakhovetski Message-id: MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII References: Cc: V4L-Linux Subject: Re: [PATCH v3] Add tw9910 driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: video4linux-list-bounces@redhat.com Errors-To: video4linux-list-bounces@redhat.com List-ID: Dear Guennadi > > Sorry I forget to tell you about this. > > I tried it. > > but pix->field was V4L2_FIELD_NONE when tw9910_try_fmt was 1st called. > > Yes, that's fine. This depends on your application - whatever you use. And > I would expect, if you first return -EINVAL in reply to FIELD_NONE, the > application then will try either ANY or INTERLACED, and you will get a > chance to select a suitable field. really ??? Now I'm using mplayer. but mplayer doesn't try ANY or INTERLACED. And if try_fmt return -EINVAL, mplayer will just finish. Is mplayer's option wrong ? -------------- > VGA="-tv width=640:height=480 -zoom -x 320 -y 240" > VIDIX="-vo fbdev:vidix:sh_veu" > OUT="tv://" > NTSC="-tv norm=NTSC" > mplayer ${VIDIX} ${VGA} ${NTSC} ${OUT} -------------- answer of mplayer. (try_fmt return -EINVAL when field is NONE) -------------- MPlayer dev-SVN-r27776-4.2-SH4-LINUX_v0701 (C) 2000-2008 MPlayer Team Playing tv://. TV file format detected.camera 0-0: SuperH Mobile CEU driver attached to camera 0 Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski comment: first try, more to come ;-) Selected device: SuperH_ Mobile_CEU Capcamera 0-0: SuperH Mobile CEU driver detached from camera 0 abilites: video capture streaming supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = PAL; 5 = PAL-BG; 6 = PAL-H; 7 = PAL-I; 8 = PAL-DK; inputs: 0 = Video; Current input: 0 Current format: NV12 v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set mute failed: Invalid argument v4l2: 0 frames successfully processed, 0 frames dropped. -------------- Best regards -- Kuninori Morimoto -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list