Table of Contents


XvUngrabPort - release port grabbed for video operation


#include <X11/extensions/Xvlib.h>

XvUngrabPort(dpy, port, time)

Display *dpy;
XvPortID port;
Time time;


Specifies the display screen on which the Xv Server is to accept requests from Xv clients. If the display option is not specified, Xv uses the display screen specified by your DISPLAY environment variable. The display option has the format hostname:number. Using two colons (::) instead of one (:) indicates that DECnet is to be used for transport.

Specifies the port to be released. If the port had not been previously grabbed, the request is ignored.

Specifies the request timestamp.


XvUngrabPort(3X) releases a grabbed port. If time specifies a time before the last XvGrabPort(3X) was executed, the request is ignored.

Returned Values

Returned if XvUngrabPort(3X) completed successfully.

Returned if the Xv extension is unavailable.

Returned if XvUngrabPort(3X) failed to allocate memory to process the request.


Generated if the requested port does not exist.

See Also

Table of Contents