mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pipewire-v4l2: More improvements
Keep separate map for fd to files so we can implement dup. Filter out duplicates in enumfmt. tryfmt should return the closest match. Use pthread_once to init the global state. Make things mostly work in GStreamer.
This commit is contained in:
parent
8175c8276d
commit
3ee852b808
3 changed files with 388 additions and 265 deletions
|
|
@ -35,4 +35,4 @@ struct fops {
|
|||
int (*munmap)(void *addr, size_t length);
|
||||
};
|
||||
|
||||
extern const struct fops fops;
|
||||
const struct fops *get_fops(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue