Table of Contents

Name

XvStopVideo - 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 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.
port
Specifies the port for which video is to be stopped.
draw
Specifies the drawable associated with the named port.

Description

Returned Values

[Success]
Returned if XvStopVideo(3x) completed successfully.
[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.
[BadDrawable]
Generated if the requested drawable does not exist.

See Also

XvGetVideo(3x) , XvPutVideo(3x) , XvVideoNotifyEvent(3x)


Table of Contents