Home Man
Today's Posts

Linux & Unix Commands - Search Man Pages

X11R7.4 - man page for xvgrabport (x11r4 section 3)

XvGrabPort(3)			     Library Functions Manual			    XvGrabPort(3)

       XvGrabPort - lock port for exclusive use by client

       #include <X11/extensions/Xvlib.h>

       XvGrabPort(Display *dpy, XvPortID port, Time time);

       dpy     Specifies the connection to the X server.

       port    Defines the port to be grabbed.

       time    Specifies the request timestamp.

       XvGrabPort(3)  grabs  a port.  Once a client grabs a port, only that client can make video
       requests to that port.

       If the time is before the current port time, the XvGrabPort request is ignored  and  XvIn-
       validTime 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(3), XvUngrabPort(3), XvPutVideo(3), XvPut-
       Still(3), XvGetVideo(3), XvGetStill(3).

       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 Values
	       Returned if XvGrabPort(3) 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(3) failed to allocate memory to process the request.

       [XvBadPort]    Generated if the requested port does not exist.

See Also
       XvUngrabPort(3) XvVideoNotify(3)

X Version 11				   libXv 1.0.4				    XvGrabPort(3)

All times are GMT -4. The time now is 02:55 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password