xcb_xv_stop_video(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– xcb_xv_stop_video β€” bestie's guide to making the video STOP πŸ’–

okay so real talk, this is a page from the XCB Requests manual, and the function in question is xcb_xv_stop_video(3). She's giving "please, for the love of everything, cease the video." Let's get into it πŸŽ€


✨ NAME ✨

xcb_xv_stop_video β€”

that's it. that's the whole name section. the original literally leaves the description blank, and honestly? iconic minimalism. πŸ’…


🌸 SYNOPSIS 🌸

first things first, you gotta pull in the header:

#include <xcb/xv.h>

πŸ¦‹ Request function

and here's the actual call, bestie β€” look at her:

xcb_void_cookie_t xcb_xv_stop_video(xcb_connection_t *conn,
       xcb_xv_port_t port, xcb_drawable_t drawable);

three args, one return, zero chill ✨


🫢 REQUEST ARGUMENTS 🫢

  • conn β€” the XCB connection to X11. your lil lifeline to the server, the group chat with the display, ykwim? πŸ’œ
  • port β€” TODO: NOT YET DOCUMENTED. yeah. the original says that. i'm not making this up, and i'm not gonna pretend i know what it does, because that would be lying and we don't do that here. πŸ™ˆ
  • drawable β€” TODO: NOT YET DOCUMENTED. same vibe. the manpage author left this one on read. 😭

πŸ’€ DESCRIPTION πŸ’€

this section is, and i cannot stress this enough, empty in the original. nothing. void. the absence of a description is itself the description. it's giving mystery, it's giving enigma, it's giving "figure it out bestie." 🌈


πŸ‘‘ RETURN VALUE πŸ‘‘

so she hands you back an xcb_void_cookie_t. that's the tea. πŸ“

any errors? if there are any, you have to handle them in the event loop, periodt. that's just how it works.

but wait β€” if you'd rather handle errors directly with xcb_request_check instead, then use xcb_xv_stop_video_checked instead. she's the checked version, she's the responsible one. for all the deets, go read xcb-requests(3). πŸ“š

πŸ”₯ ERRORS πŸ”₯

get this: this request does never generate any errors.

zero. none. not a single one. she's that well-behaved. ate and left no crumbs. πŸ’…βœ¨


🌟 SEE ALSO 🌟

nothing here, bestie. it's empty in the original. i would tell you what to look at but the manpage said "no thoughts, head empty." πŸ¦‹


πŸ’Œ AUTHOR πŸ’Œ

Generated from xv.xml. and if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β€” they want to hear from you, fr fr. πŸ“§


and that's the whole page!! we did it πŸŽ‰

little sign-off moment: this was X Version 11, libxcb 1.17.0, and the manual name is xcb_xv_stop_video(3). go forth and stop some video, bestie πŸ’–πŸ«Άβœ¨