XvVideoNotify(3) libXv Functions XvVideoNotify(3)

# [NAME](#NAME)

XvVideoNotify - event generated for video processing

# [SYNOPSIS](#SYNOPSIS)

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

```


     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*](#type)

Specifies the type of event: **XvVideoNotify**.

[*serial*](#serial)

Number of the last request processed by the server.

[*send\_event*](#send_event)

True if the event was generated by a SendEvent request.

[*display*](#display)

A pointer to the display the event was read from.

[*drawable*](#drawable)

The drawable for which the event was generated.

[*reason*](#reason)

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

[*port\_id*](#port_id)

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

# [DESCRIPTION](#DESCRIPTION)

**XvVideoNotify** 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](#SEE_ALSO)

[**XvPutVideo**(3)](/man/os/libxv/XvPutVideo.3), [**XvPutStill**(3)](/man/os/libxv/XvPutStill.3), [**XvGetVideo**(3)](/man/os/libxv/XvGetVideo.3), [**XvGetStill**(3)](/man/os/libxv/XvGetStill.3), [**XvStopVideo**(3)](/man/os/libxv/XvStopVideo.3), [**XvSelectVideoNotify**(3)](/man/os/libxv/XvSelectVideoNotify.3)

libXv 1.0.13 X Version 11

---

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