using hashes to enumerate frames in memsink

This commit is contained in:
Devaev Maxim
2021-01-10 19:21:29 +03:00
parent d90cb1cff7
commit c75bd39e6a
3 changed files with 40 additions and 19 deletions

View File

@@ -46,7 +46,7 @@
typedef struct {
uint64_t seq;
uint64_t id;
size_t used;
unsigned width;
unsigned height;
@@ -68,7 +68,7 @@ typedef struct {
int fd;
memsink_shared_s *mem;
uint64_t client_seq;
uint64_t consumed_id; // Client only
} memsink_s;