On Wed, 26 Sep 2001 [EMAIL PROTECTED] wrote:
> Hi All,
> Im trying to implement XvPutVideo for our hardware. The existing driver
> we have supports XvPutImage.
> When I try to use XvPutVideo, I get a "BadMatch" error. I'm a novice to X
> programming and would like to know what causes a BadMatch error.
> One thing I'm sure of is that the call is not propogating to the driver
> code, its is being flagged as an error before reaching the driver.
> I will be really grateful for any pointers to writing a Xv driver.
>
You'll get BadMatch is you didn't set the XvVideoMask bit
in the XF86VideoAdaptorRec's "type" field. If that bit
isn't set it tells the high level code to refuse all "Video"
request directed to your driver.
MArk.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert