XvSelectVideoNotify(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

πŸ’– XvSelectVideoNotify(3) πŸ’–

okay bestie, so this is a page from the libXv functions manual, and it's all about the X video extension girlies. sit down, grab a boba, we're gonna talk about events. πŸŽ€


✨ NAME ✨

XvSelectVideoNotify β€” turn VideoNotify events on or off. that's it. that's the whole job. iconic behavior honestly πŸ’…


🌸 SYNOPSIS 🌸

#include <X11/extensions/Xvlib.h>

int XvSelectVideoNotify(Display *dpy, Drawable drawable, Bool onoff);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dpy β€” the connection to the X server. your little phone line to the server, basically πŸ“ž
  • drawable β€” defines the drawable where the video activity is getting reported. this is the spot we're keeping an eye on πŸ‘€
  • onoff β€” picks whether video notification is enabled or disabled. yes, it's a Bool, no it's not more complicated than that, we love a simple queen πŸ’œ

πŸ‘‘ DESCRIPTION πŸ‘‘

XvSelectVideoNotify(3) enables or disables XvVideoNotify(3) events being reported for video activity in a drawable.

like... that's the whole thing. you point it at a drawable, you say "on" or "off", and the server either starts whispering to you about video activity or stops. no cap. πŸ”₯


🌈 RETURN VALUES 🌈

  • [Success] β€” returned if XvSelectVideoNotify(3) completed successfully. slay, it worked ✨
  • [XvBadExtension] β€” returned if the Xv extension is unavailable. the Xv girlies didn't show up to the party 😭
  • [XvBadAlloc] β€” returned if XvSelectVideoNotify(3) failed to allocate memory to process the request. out of memory, out of vibes πŸ’€

πŸ“ DIAGNOSTICS πŸ“

  • [BadDrawable] β€” generated if the requested drawable does not exist. bestie that drawable is not real, it's giving ghosting πŸ™ˆ

🧚 SEE ALSO 🧚


lowkey the whole page is one sentence of actual behavior and a bunch of error codes, and honestly? relatable. 🫢

X Version 11 Β· libXv 1.0.13 β€” mwah, that's the version tag and the source, love you, bye bestie πŸ’–πŸ’…βœ¨

πŸ“¦ where this page comes from