Enable or disable videonotify events
#include <X11/extensions/Xvlib.h>
int XvSelectVideoNotify(Display *dpy, Drawable drawable, Bool onoff);
Specifies the connection to the X server.
Defines the drawable in which video activity is to be reported.
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.
Returned if XvSelectVideoNotify(3) completed successfully.
Returned if the Xv extension is unavailable.
Returned if XvSelectVideoNotify(3) failed to allocate memory to process the request.
Generated if the requested drawable does not exist.