Not sure if this belongs here, however, I cannot find any other place to submit Xv bug reports.
This report pertains to findings on NVidia cards, other video cards may or may not have similar effects, however, the specification of the Xv library is suspect, regardless of whether this bug avails itself on hardware other than NVidia.
The functions of the Xv library suggest that they can draw to DRAWABLEs, however, when they draw to any DRAWABLE other than a Window, the program crashes with the following error:
X Error of failed request: XvBadPort
Major opcode of failed request: 141 (XVideo)
Minor opcode of failed request: 3 ()
Serial number of failed request: 46
Current serial number in output stream: 46
I suppose that what is happening here is that the Window has a direct interface with the video card, where the DRAWABLEs do not. The Xv library requires that the programmer submit a port number when creating the XvImage, and I think that when the XvPutImage or other "Xv Drawing Function" tries to draw to a DRAWABLE, it expects the DRAWABLE to be a surface on the video card. DRAWABLEs other than Windows are not, however, causing the Xv library to crash. Possible fixes:
1) change the Xv specification to only be able to draw to Windows (less favorable)
2) Somehow make DRAWABLEs video card surfaces that Xv can draw to
3) Make an intermediate class of DRAWABLE that has a video card surface which can be drawn to by Xv and other extensions that draw using a port, like Xv does.
If this bug does not belong here, please contact me and tell me where I should report this bug... I can't find it :(
Bugs against X.Org software should be filed under product "Xorg".
"XStandards" is for standard specification documents only. Reassigning.
*** This bug has been marked as a duplicate of bug 21143 ***