XvSelectPortNotify(3)

XvSelectPortNotify3

Enable or disable xvportnotify events

Usage

#include <X11/extensions/Xvlib.h>

int XvSelectPortNotify(Display *dpy, XvPortID port, Bool onoff);

Arguments

dpy

Specifies the connection to the X server.

port

Specifies the port for which PortNotify events are to be generated when its attributes are changed using XvSetPortAttribute(3)

onoff

Specifies whether notification is to be enabled or disabled.

Overview

XvSelectPortNotify(3) enables or disables PortNotify event delivery to the requesting client. XvPortNotify(3) events are generated when port attributes are changed using XvSetPortAttribute(3).

Return values

[Success]

Returned if XvSelectPortNotify(3) completed successfully.

[XvBadExtension]

Returned if the Xv extension is unavailable.

[XvBadAlloc]

Returned if XvSelectPortNotify(3) failed to allocate memory to process the request.

Diagnostics

[XvBadPort]

Generated if the requested port does not exist.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9–13
  6. Arch

From libxv 1.0.13-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.