XvSelectPortNotify(3xv) libXv Functions XvSelectPortNotify(3xv)NAMEXvSelectPortNotify - enable or disable XvPortNotify events
SYNOPSIS
cc [ flag... ] file... -lXv [ library... ]
#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 gener‐
ated when its attributes are changed using XvSetPortAt‐
tribute(3xv)
onoff Specifies whether notification is to be enabled or disabled.
DESCRIPTIONXvSelectPortNotify(3xv) enables or disables PortNotify event delivery
to the requesting client. XvPortNotify(3xv) events are generated when
port attributes are changed using XvSetPortAttribute(3xv).
RETURN VALUES
[Success]
Returned if XvSelectPortNotify(3xv) completed successfully.
[XvBadExtension]
Returned if the Xv extension is unavailable.
[XvBadAlloc]
Returned if XvSelectPortNotify(3xv) failed to allocate memory
to process the request.
DIAGNOSTICS
[XvBadPort]
Generated if the requested port does not exist.
SEE ALSOXvSetPortNotify(3xv), XvSetPortAttribute(3xv), XvPortNotify(3xv)ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │x11/library/libxv │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Volatile │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │See XInitThreads(3X11) │
└─────────────────────────────┴─────────────────────────────┘
X Version 11 libXv 1.0.5 XvSelectPortNotify(3xv)