[Xcb] bug in xcb/proto/src/xv.xml?

Jeremy A. Kolb jkolb at brandeis.edu
Mon Dec 10 08:44:27 PST 2007


On Mon, 10 Dec 2007, Julien Cristau wrote:

> Hi,
>
> I noticed an inconsistency between the xv.xml protocol description and
> the <X11/extensions/Xvproto.h> header:
> typedef struct {
>  CARD8 reqType;
>  CARD8 xvReqType;
>  CARD16 length B16;
>  XvPortID port B32;
>  BOOL onoff;
>  CARD8 pad1;
>  CARD16 pad2;
> } xvSelectPortNotifyReq;
>
> vs
>
>    <request name="SelectPortNotify" opcode="11">
>        <field type="DRAWABLE" name="drawable" />
>        <field type="BOOL" name="onoff" />
>    </request>
>
> The "port" field becomes a "drawable".  It looks like a copy-paste error
> from SelectVideoNotify.
>
> Cheers,
> Julien
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
>

The xv stuff was never tested.  I don't have the header files or the xv 
doc in front of me but looking at the name "SelectPortNotify" and what we 
have in the xml it does look like a cut and paste error.

Jeremy


More information about the Xcb mailing list