Hi,
On 01/25/2013 11:40 AM, Hans Verkuil wrote:
<snip>
What I did notice is that pwc_vidioc_try_fmt returns EINVAL when
an unsupported pixelformat is requested. IIRC we agreed that the
correct behavior in this case is to instead just change the
pixelformat to a default format, so I'll write a patch fixing
this.
There are issues with that idea in the case of TV capture cards, since
some important apps (tvtime and mythtv to a lesser extent) assume -EINVAL
in the case of unsupported pixelformats.
Oh, I thought we agreed on never returning EINVAL accept for on invalid
buffer types in Barcelona ?
Regards,
Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html