---
name: "XvSelectVideoNotify"
section: "3x"
platform: "linux"
package: "libxv-dev"
version: "1:1.0.2-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/XvSelectVideoNotify/3x"
---

# XvSelectVideoNotify(3x)

enable or disable VideoNotify events

## Name

XvSelectVideoNotify - enable or disable VideoNotify events

## Syntax

**#include** *\<X11/extensions/Xvlib.h\>*

**XvSelectVideoNotify(***dpy, drawable, onoff*)

**register Display** *\*dpy*;\
 **Drawable** *drawable*;\
 **Bool** *onoff*;

## Arguments

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

## Description

[XvSelectVideoNotify(3x)](/XvSelectVideoNotify/3x.md) enables or disables events to be reported for  video activity in a drawable.

## Returned Values

- \[Success\]

  Returned if [XvSelectVideoNotify(3x)](/XvSelectVideoNotify/3x.md) completed successfully.

- \[XvBadExtension\]

  Returned if the Xv extension is unavailable.

- \[XvBadAlloc\]

  Returned if [XvSelectVideoNotify(3x)](/XvSelectVideoNotify/3x.md) failed to allocate memory to process the request.

## Diagnostics

- \[BadDrawable\]

  Generated if the requested drawable does not exist.

## See Also

XvVideoNotify\
