On Monday 05 September 2005 12:35, Luc Saillard wrote:
> On Mon, Sep 05, 2005 at 11:04:42AM +0100, Ivor Hewitt wrote:
> > On Monday 05 September 2005 10:19, Luc Saillard wrote:
> > > On Sun, Sep 04, 2005 at 09:28:37PM +0100, Ivor Hewitt wrote:
> > > > Hi,
> > > >
> > > > Trying to use the pwc driver with kopete, it seems that kopete
> > > > attempts to determine the device capabilities by calling VIDIOC_S_FMT
> > > > (since it uses the same codepath for V4L1 and V4L2 and TRY_FMT is new
> > > > in V4L2).
> > >
> > > Kopete support the video conference ? in which protocol ?
> >
> > Indeed, current kopete supports MSN webcam conversations. Doesn't support
> > the pwc driver yet, but should do soon.
>
> Because, i can try to checkout the CVS, and see if we can add support for
> v4l2. In v4l2, we have an ioctl to list supported format.
>
Hi,
The problem is that TRY_FMT call is optional for drivers to implement so I
expect a lot of v4l2 code will still simply use the S_FMT call to determine
supported formats instead.
According to that v4l documentation, this is ok to do and the behaviour of
TRY_FMT should be the same as S_FMT except that it shouldn't actually change
the mode. That's why I think that the S_FMT iotl should include the same
supported format checks as TRY_FMT, as I patched.
The only changes that need to be made to kopete at the moment for pwc to work
are to support YUV420 source formats, this should be done soon.
You could join #kopete on freenode if you want to chat to the developers about
this.
Cheers,
--
Ivor Hewitt.
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|