xcb_xv_put_video(3)
π xcb_xv_put_video β the XCB request that yeets video into a drawable π
okay bestie, sit down, we're doing XCB today π«Ά this one lives in the XCB Requests corner of the manual, page xcb_xv_put_video(3), and it's a request function β meaning you're asking the X server to do a thing, not waiting around for a return value like some nerd. slay.
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header, no cap:
#include <xcb/xv.h>
π Request function π
here's the whole vibe, character for character, don't you dare typo it:
xcb_void_cookie_t xcb_xv_put_video(xcb_connection_t *conn,
xcb_xv_port_t port, xcb_drawable_t drawable, xcb_gcontext_t gc,
int16_t vid_x, int16_t vid_y, uint16_t vid_w, uint16_t vid_h,
int16_t drw_x, int16_t drw_y, uint16_t drw_w, uint16_t drw_h);
πΈ REQUEST ARGUMENTS πΈ
the way there are so many of these π every single one, coming right up:
connβ bestie, this is your XCB connection to X11. your whole line to the server. iconic. πportβTODO: NOT YET DOCUMENTED.yeah. the docs simply did not show up. it's giving mystery. πdrawableβTODO: NOT YET DOCUMENTED.(same energy, we know nothing, ngl)gcβTODO: NOT YET DOCUMENTED.(a graphics context shaped hole in our hearts π)vid_xβTODO: NOT YET DOCUMENTED.vid_yβTODO: NOT YET DOCUMENTED.vid_wβTODO: NOT YET DOCUMENTED.vid_hβTODO: NOT YET DOCUMENTED.drw_xβTODO: NOT YET DOCUMENTED.drw_yβTODO: NOT YET DOCUMENTED.drw_wβTODO: NOT YET DOCUMENTED.drw_hβTODO: NOT YET DOCUMENTED.
likeβ¦ every single one is a TODO?? the whole argument list is running on vibes alone and honestly? respect. π§
π¦ DESCRIPTION π¦
so, um. there is literally nothing here. the DESCRIPTION section is empty. it's giving "I'll write it later" and later never came. π
no extra lore, no secret tips, no invented behaviour from me β if the original says nothing, I say nothing. periodt.
π RETURN VALUE π
it hands you back an xcb_void_cookie_t. cute little cookie. π but here's the tea β because it's void, any errors (if any) have to be handled over in the event loop. the cookie doesn't spill.
but if you're the type who wants to handle errors directly, no event loop detour, then use xcb_xv_put_video_checked instead. same energy, just checked. and go read xcb-requests(3) for the full details, iykyk. π
π ERRORS π
good news bestie: this request does never generate any errors. zero. none. it's a clean queen. π₯
π SEE ALSO π
nothing here either. empty. a lil void. the SEE ALSO section said "no thoughts, head empty" and honestly we love that for it. π
π AUTHOR π
this page was generated from xv.xml. if you spot something wrong and wanna fix it or make it better, hit up xcb@lists.freedesktop.org β they take corrections and improvements, fr fr. π«Ά
and that's the whole page, bestie! mwah π
this lil legend came to you from X Version 11 and libxcb 1.17.0, on the xcb_xv_put_video(3) page β go forth and put that video, no cap. β¨ππ
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms