pwc
[Top] [All Lists]

[pwc] Change to VIDIOC_S_FMT call.

To:
Subject: [pwc] Change to VIDIOC_S_FMT call.
From: Ivor Hewitt <>
Date: Sun, 4 Sep 2005 21:28:37 +0100
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).

Looking at the http://v4l2spec.bytesex.org/spec/vidioc-g-fmt.html doc seems to 
suggest that this behaviour is acceptable.

The attached patch basically causes VIDIOC_S_FMT to perform VIDIOC_TRY_FMT 
first and so supports this usage.

Regards,

-- 
Ivor Hewitt.

Attachment: pwc.diff
Description: Text Data

_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU