XvStopVideo(3X)XvStopVideo(3X)NameXvStopVideo - stop active video
Syntax
#include <X11/extensions/Xvlib.h>
XvStopVideo(dpy, port, draw)
Display *dpy;
XvPortID port;
Drawable draw;
Arguments
dpy 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 spec-
ified by your DISPLAY environment variable.
The display option has the format host-
name:number. Using two colons (::) instead
of one (:) indicates that DECnet is to be
used for transport.
port Specifies the port for which video is to be
stopped.
draw Specifies the drawable associated with the
named port.
DescriptionXvStopVideo(3X) 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 XvVideoNo-
tify(3X) event with detail XvStopped is generated for the
associated drawable.
Returned Values
[Success]
Returns True if XvStopVideo(3X) completed success-
fully.
[XvBadExtension]
Returned if the Xv extension is unavailable.
[XvBadAlloc]
Returned if XvStopVideo(3X) failed to allocate
memory to process the request.
Diagnostics
[XvBadPort]
Generated if the requested port does not exist.
1
XvStopVideo(3X)XvStopVideo(3X)
[BadDrawable]
Generated if the requested drawable does not
exist.
See AlsoXvGetVideo(3X), XvPutVideo(3X), XvVideoNotifyEvent(3X)
2