logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XvStopVideo - stop active video

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.

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.

Diagnostics

       [XvBadPort]
               Generated if the requested port does not exist.

       [BadDrawable]
               Generated if the requested drawable does not exist.

Name

       XvStopVideo - stop active video

Return 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.

See Also

XvGetVideo(3), XvPutVideo(3), XvVideoNotify(3)

X Version 11                                      libXv 1.0.11                                    XvStopVideo(3)

Synopsis

#include<X11/extensions/Xvlib.h>intXvStopVideo(Display*dpy,XvPortIDport,Drawabledraw);

See Also