XvPortNotify(3) libXv Functions XvPortNotify(3)

# [NAME](#NAME)

XvPortNotify - event generated when port attributes change

# [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;


       XvPortID port_id;


       Time time;


       Atom attribute;


       long value;


     } XvPortNotifyEvent;
```

[*type*](#type)

Specifies the type of event: XvPortNotify.

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

[*port\_id*](#port_id)

The port whose attribute has changed.

[*attribute*](#attribute)

An atom specifying the attribute that changed.

[*value*](#value)

The new value of the attribute.

# [DESCRIPTION](#DESCRIPTION)

XvPortNotify events are generated when a port attribute is set using the [**XvSetPortAttribute**(3)](/man/os/libxv/XvSetPortAttribute.3) function.

# [SEE ALSO](#SEE_ALSO)

[**XvSetPortAttribute**(3)](/man/os/libxv/XvSetPortAttribute.3), [**XvGetPortAttribute**(3)](/man/os/libxv/XvGetPortAttribute.3), [**XvSelectPortNotify**(3)](/man/os/libxv/XvSelectPortNotify.3).

libXv 1.0.13 X Version 11

---

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