XvStopVideo(3xv) libXv Functions XvStopVideo(3xv)NAMEXvStopVideo - stop active video
SYNOPSIS
cc [ flag... ] file... -lXv [ library... ]
#include <X11/extensions/Xvlib.h>
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.
DESCRIPTIONXvStopVideo(3xv) stops active video for the specified port and draw‐
able. 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) event with detail XvStopped is generated
for the associated drawable.
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 ALSOXvGetVideo(3xv), XvPutVideo(3xv), XvVideoNotify(3xv)ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │x11/library/libxv │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Volatile │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │See XInitThreads(3X11) │
└─────────────────────────────┴─────────────────────────────┘
X Version 11 libXv 1.0.5 XvStopVideo(3xv)