XvSelectVideoNotify(3) libXv Functions XvSelectVideoNotify(3)

# [NAME](#NAME)

XvSelectVideoNotify - enable or disable VideoNotify events

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;X11/extensions/Xvlib.h&gt;**

```
int XvSelectVideoNotify(Display *dpy, Drawable drawable, Bool onoff);
```

# [ARGUMENTS](#ARGUMENTS)

[*dpy*](#dpy)

Specifies the connection to the X server.

[*drawable*](#drawable)

Defines the drawable in which video activity is to be reported.

[*onoff*](#onoff)

Selects whether video notification is enabled or disabled.

# [DESCRIPTION](#DESCRIPTION)

[**XvSelectVideoNotify**(3)](/man/os/libxv/XvSelectVideoNotify.3) enables or disables [**XvVideoNotify**(3)](/man/os/libxv/XvVideoNotify.3) events to be reported for video activity in a drawable.

# [RETURN VALUES](#RETURN_VALUES)

\[Success]

Returned if [**XvSelectVideoNotify**(3)](/man/os/libxv/XvSelectVideoNotify.3) completed successfully.

\[XvBadExtension]

Returned if the Xv extension is unavailable.

\[XvBadAlloc]

Returned if [**XvSelectVideoNotify**(3)](/man/os/libxv/XvSelectVideoNotify.3) failed to allocate memory to process the request.

# [DIAGNOSTICS](#DIAGNOSTICS)

\[BadDrawable]

Generated if the requested drawable does not exist.

# [SEE ALSO](#SEE_ALSO)

[**XvVideoNotify**(3)](/man/os/libxv/XvVideoNotify.3)

libXv 1.0.13 X Version 11

---

Document: XvSelectVideoNotify(3) from libxv 1.0.13-r6 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxv
