XvGrabPort(dpy, port, 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.
Defines the port to be grabbed.
Specifies the request timestamp.
If the time is before the current port time, the XvGrabPort request is ignored and XvInvalidTime is returned. If the port is already grabbed by another client, XvAlreadyGrabbed is returned. Otherwise it returns a status of Success. The port time is updated when the following requests are processed: XvGrabPort(3X) , XvUngrabPort(3X) , XvPutVideo(3X) , XvPutStill(3X) , XvGetVideo(3X) , XvGetStill(3X) .
If the port is actively processing video for another client, the video is preempted, and an XvVideoNotify event with detail XvPreempted is generated for its drawable.
Returned if XvGrabPort(3X) completed successfully.
Returned if requested time is older than the current port time.
Returned if the port is already grabbed by another client.
Returned if the Xv extension is unavailable.
Returned if XvGrabPort(3X) failed to allocate memory to process the request.
Generated if the requested port does not exist.
Table of Contents