libXv Functions XvStopVideo(3xv)
NAME
XvStopVideo - stop active video
SYNOPSIS
cc [ flag... ] file... -lXv [ library... ]
#include
int XvStopVideo(Display *dpy, XvPortID port, Drawable draw
ARGUMENTS dpy Specifies the connection to the X server. port Specifies the port for which video is to be stopped. draw Specifies the drawable associated with the named port.DESCRIPTION
XvStopVideo(3xv) stops active video for the specified port
and drawable. If the port is not processing video, or if it is processing video in a different drawable, the request is ignored. When video is stopped a XvVideoNotify(3xv) eventwith detail XvStopped is generated for the associated draw-
able.RETURN VALUES
[Success]Returned if XvStopVideo(3xv) completed successfully.
[XvBadExtension] Returned if the Xv extension is unavailable. [XvBadAlloc]Returned if XvStopVideo(3xv) failed to allocate
memory to process the request. DIAGNOSTICS [XvBadPort] Generated if the requested port does not exist. [BadDrawable] Generated if the requested drawable does not exist.SEE ALSO
XvGetVideo(3xv), XvPutVideo(3xv), XvVideoNotify(3xv)ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes: X Version 11 Last change: libXv 1.0.5 1libXv Functions XvStopVideo(3xv)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libxv ||_____________________________|_____________________________|
| Interface Stability | Volatile ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libXv 1.0.5 2