---
name: "XvVideoNotify"
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/XvVideoNotify/3x"
---

# XvVideoNotify(3x)

event generated for video processing

## Name

XvVideoNotify - event generated for video processing

## Syntax

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

```
     typedef union {
       int type;
       XvVideoNotifyEvent xvvideo;
       XvPortNotifyEvent xvport;
       long pad[24];
     } XvEvent;
     typedef struct {
       int type;
       unsigned long serial;
       Bool send_event;
       Display *display;
       Drawable drawable;
       unsigned long reason;
       XvPortID port_id;
       Time time;
     } XvVideoNotifyEvent;
```

- *type*

  Specifies the type of event: [XvVideoNotify(3x)](/XvVideoNotify/3x.md).

- *serial*

  Number of the last request processed by the server.

- *send\_event*

  True if the event was generated by a SendEvent request.

- *display*

  A pointer to the display the event was read from.

- *drawable*

  The drawable for which the event was generated.

- *reason*

  The reason the event was generated: **XvStarted**, **XvStopped**,  **XvPreempted**, **XvBusy**, **XvHardError**.

- *port\_id*

  The port processing the video for which the event was generated.

## Description

[XvVideoNotify(3x)](/XvVideoNotify/3x.md) events are generated when video is started, stopped, preempted by another video request, ignored because the port is grabbed by another client, or interrupted because of a hard transmission or reception error.

## See Also

[XvPutVideo(3x)](/XvPutVideo/3x.md), [XvPutStill(3x)](/XvPutStill/3x.md), [XvGetVideo(3x)](/XvGetVideo/3x.md), [XvGetStill(3x)](/XvGetStill/3x.md),  [XvStopVideo(3x)](/XvStopVideo/3x.md), [XvSelectVideoNotify(3x)](/XvSelectVideoNotify/3x.md)
