Name
XvStopVideo - stop active video
Syntax
#include
XvGetStill(Display *dpy, XvPortID port, Drawable draw);
Arguments
-
_d_p_y
Specifies the connection to the X server.
-
-
_p_o_r_t
Specifies the port for which video is to be stopped.
-
-
_d_r_a_w
Specifies the drawable associated with the named port.
-
Description
XvStopVideo(3) 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(3) event with detail XvStopped is generated
for the associated drawable.
Returned Values
-
[Success]
Returned if XvStopVideo(3) completed successfully.
-
-
[XvBadExtension]
Returned if the Xv extension is unavailable.
-
-
[XvBadAlloc]
Returned if XvStopVideo(3) 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(3), XvPutVideo(3), XvVideoNotifyEvent(3)