Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
X11/extensions/Xvlib.h
✓ #include <X11/extensions/Xvlib.h>
Check if XVideo extension is available
#include <X11/extensions/Xvlib.h>
#include <X11/Xlib.h>
#include <iostream>
int main() {
Display* dpy = XOpenDisplay(nullptr);
if (!dpy) return 1;
int event_base, error_base;
if (XvQueryExtension(dpy, &event_base, &error_base)) {
std::cout << "XVideo extension available" << std::endl;
}
XCloseDisplay(dpy);
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.