Dear Guennadi > > 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. (snip) > v4l2: ioctl set format failed: Invalid argument > v4l2: ioctl set mute failed: Invalid argument > v4l2: 0 frames successfully processed, 0 frames dropped. > -------------- Now, I found the reason why mplayer finish when try_fmt return -EINVAL in tw9910. vivi.c use this functions on vivi_open ----------- videobuf_queue_vmalloc_init(&fh->vb_vidq, &vivi_video_qops, NULL, &dev->slock, fh->type, V4L2_FIELD_INTERLACED, sizeof(struct vivi_buffer), fh); ----------- after that, fh->vb_vidq.field be V4L2_FIELD_INTERLACED. and vidioc_try_fmt_vid_cap doesn't get NONE field. but icf->vb_vidq.field of soc_camera is V4L2_FIELD_NONE. therefore tw9910_try_fmt get NONE field. Best regards -- Kuninori Morimoto -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list