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

Julien Cristau jcristau at debian.org
Mon Dec 10 07:03:51 PST 2007


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


More information about the Xcb mailing list