On Wed, 5 Jun 2002, Mark Vojkovich wrote:
> On Thu, 6 Jun 2002, etienne wrote:
>
> > Hello,
> >
> > I'm using wertman's testxv.c code as a base........ which works fine
> > standalone,
> >
> > but I have some kind of pointer problem or something, when I embed the
> > testxv code into my app I get this error ...........
> >
> > X Error of failed request: BadShmSeg (invalid shared segment parameter)
> > Major opcode of failed request: 142 (XVideo)
> > Minor opcode of failed request: 19 ()
> > Segment id in failed request: 0x807af49
> > Serial number of failed request: 321
> > Current serial number in output stream: 322
> >
> > .......... all I want to know, is what exactly does that BadShmSeg error
> > mean in the XvShmPutImage context?
> >
>
> Means the XvImage's "id" field doesn't correspond to a shared
> memory segment that was registered with the X-server. Did you
> XShmAttach to the segment that was used in the XvImage?
>
Sorry, I mean the shmseg field in the XvImage's obdata, not
the "id" field. Not that it makes any difference.
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert