XvVideoNotify(3)

πŸ“¦
version 1.0.13 Β· 3 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

πŸ’– XvVideoNotify β€” the manual page, bestie edition πŸ’–

libXv Functions Β· the one and only XvVideoNotify(3) πŸŽ€


✨ NAME ✨

XvVideoNotify β€” the event that gets generated for video processing πŸ¦‹


🌸 SYNOPSIS 🌸

#include <X11/extensions/Xvlib.h>

     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;

okay so let's break down every single field because they ALL matter, no skips πŸ’…

  • type β€” tells you what kind of event this is: XvVideoNotify. that's literally it, that's the vibe.
  • serial β€” the number of the last request the server processed. like a receipt number bestie 🧾
  • send_event β€” True if this event came from a SendEvent request. False means it's the real deal, homegrown, organic ✨
  • display β€” a pointer to the display the event was read from. your connection, your girl 🫢
  • drawable β€” the drawable the event was generated for. the canvas in question 🎨
  • reason β€” why this event happened. one of: XvStarted, XvStopped, XvPreempted, XvBusy, XvHardError. the lore, basically πŸ‘‘
  • port_id β€” the port that's processing the video the event is about. this is the port's whole identity fr fr πŸ’œ

πŸ’« DESCRIPTION πŸ’«

so, XvVideoNotify events show up when video gets started, stopped, preempted by some other video request, ignored because the port is grabbed by another client (rude, honestly 😭), or interrupted because of a hard transmission or reception error πŸ’€.

that's the whole vibe check. video does a thing, the event tells you about it. iconic behaviour, no notes πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹


bestie if you read all of that you're genuinely built different πŸ’– go forth and handle your events, main character πŸŽ€

X Version 11 Β· libXv 1.0.13 Β· XvVideoNotify(3) β€” that's the source, the version and the date, mwah, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from