XvStopVideo __libmansuffix__ __vendorversion__ "libXv Functions"
NAME
XvStopVideo - stop active video
SYNOPSIS
#include <X11/extensions/Xvlib.h>
 "int XvStopVideo(Display *" dpy ", XvPortID " port ", Drawable " draw ");" 
ARGUMENTS

dpy 8
Specifies the connection to the X server.
port 8
Specifies the port for which video is to be stopped.
draw 8
Specifies the drawable associated with the named port.
DESCRIPTION

XvStopVideo (__libmansuffix__) 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 (__libmansuffix__) event with detail XvStopped is generated for the associated drawable.
RETURN VALUES
[Success] 8
Returned if XvStopVideo (__libmansuffix__) completed successfully.
[XvBadExtension] 8
Returned if the Xv extension is unavailable.
[XvBadAlloc] 8
Returned if XvStopVideo (__libmansuffix__) failed to allocate memory to process the request.
DIAGNOSTICS
[XvBadPort] 8
Generated if the requested port does not exist.
[BadDrawable] 8
Generated if the requested drawable does not exist.
SEE ALSO
XvGetVideo (__libmansuffix__), XvPutVideo (__libmansuffix__), XvVideoNotify (__libmansuffix__)