XvSelectVideoNotify - enable or disable VideoNotify events
#include <X11/extensions/Xvlib.h>
int XvSelectVideoNotify(Display *dpy, Drawable drawable, Bool onoff);
- dpy
- Specifies the connection to the X server.
- drawable
- Defines the drawable in which video activity is to be reported.
- onoff
- Selects whether video notification is enabled or disabled.
XvSelectVideoNotify(3) enables or disables XvVideoNotify(3) events
to be reported for video activity in a drawable.
- [Success]
- Returned if XvSelectVideoNotify(3) completed successfully.
- [XvBadExtension]
- Returned if the Xv extension is unavailable.
- [XvBadAlloc]
- Returned if XvSelectVideoNotify(3) failed to allocate memory to
process the request.
- [BadDrawable]
- Generated if the requested drawable does not exist.