mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Multimedia processing graphs
Fix video in SDL examples by invoking rendering in the same thread (pw_loop) that created the window, renderer and texture. At least on some systems, no video is shown without this patch. In those error cases, SDL_RenderPresent triggers an SDL error "The specified window has not been made current". That, in turn, has to do with how SDL uses the current thread for determing the current window. In general, the page linked to below states that the SDL API is not designed to be used from multiple threads. Reference: https://wiki.libsdl.org/CategoryRender |
||
|---|---|---|
| doc | ||
| man | ||
| pkgconfig | ||
| po | ||
| spa | ||
| src | ||
| .gitignore | ||
| _config.yml | ||
| autogen.sh | ||
| config.h.meson | ||
| git-version-gen | ||
| GPL | ||
| LGPL | ||
| LICENSE | ||
| Makefile.in | ||
| meson.build | ||
| meson_options.txt | ||
| NEWS | ||
| PROTOCOL | ||
| README | ||
PipeWire
--------
PipeWire is a server and user space API to deal with multimedia
pipelines. This includes:
- Making available sources of video (such as from a capture devices or
application provided streams) and multiplexing this with
clients.
- Accessing sources of video for consumption.
- Generating graphs for audio and video processing.
Nodes in the graph can be implemented as separate processes,
communicating with sockets and exchanging multimedia content using fd
passing.
Building
--------
Pipewire uses the Meson and Ninja build system to compile. If you're not
familiar with these tools, the included "autogen.sh" script will
automatically run the correct meson/ninja commands, and output a Makefile.
It follows that there are two methods to build Pipewire, however both rely
on Meson and Ninja to actually perform the compilation:
$ ./autogen.sh
$ make
or the Meson/Ninja native method:
$ meson build
$ cd build
$ ninja