Reference

XvUngrabPort(3x)

release port grabbed for video operation

Name

XvUngrabPort - release port grabbed for video operation

Syntax

#include <X11/extensions/Xvlib.h>

XvUngrabPort(dpy, port, time)

Display *dpy;
XvPortID port;
Time time;

Arguments

dpy

Specifies the connection to the X server.

port

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

time

Specifies the request timestamp.

Description

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

Returned Values

[Success]

Returned if XvUngrabPort(3x) completed successfully.

[XvBadExtension]

Returned if the Xv extension is unavailable.

[XvBadAlloc]

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

Diagnostics

[XvBadPort]

Generated if the requested port does not exist.

See Also

XvGrabPort(3x)

History