1XvVideoNotify(3) libXv Functions XvVideoNotify(3)
2
3
4
6 XvVideoNotify - event generated for video processing
7
9 #include <X11/extensions/Xvlib.h>
10
11
12 typedef union {
13 int type;
14 XvVideoNotifyEvent xvvideo;
15 XvPortNotifyEvent xvport;
16 long pad[24];
17 } XvEvent;
18
19 typedef struct {
20 int type;
21 unsigned long serial;
22 Bool send_event;
23 Display *display;
24 Drawable drawable;
25 unsigned long reason;
26 XvPortID port_id;
27 Time time;
28 } XvVideoNotifyEvent;
29
30
31 type Specifies the type of event: XvVideoNotify.
32
33 serial Number of the last request processed by the server.
34
35 send_event
36 True if the event was generated by a SendEvent request.
37
38 display A pointer to the display the event was read from.
39
40 drawable
41 The drawable for which the event was generated.
42
43 reason The reason the event was generated: XvStarted, XvStopped,
44 XvPreempted, XvBusy, XvHardError.
45
46 port_id The port processing the video for which the event was gener‐
47 ated.
48
50 XvVideoNotify events are generated when video is started, stopped, pre‐
51 empted by another video request, ignored because the port is grabbed by
52 another client, or interrupted because of a hard transmission or recep‐
53 tion error.
54
56 XvPutVideo(3), XvPutStill(3), XvGetVideo(3), XvGetStill(3),
57 XvStopVideo(3), XvSelectVideoNotify(3)
58
59
60
61X Version 11 libXv 1.0.5 XvVideoNotify(3)