Improve state handling

Improve the state handling in v4l2
Send buffers in one message
Update design doc
This commit is contained in:
Wim Taymans 2016-08-25 17:07:40 +02:00
parent fbd6304663
commit 7e858ff694
8 changed files with 202 additions and 453 deletions

View file

@ -38,7 +38,7 @@
#include "pinos/client/private.h"
#define MAX_BUFFER_SIZE 4096
#define MAX_FDS 16
#define MAX_FDS 32
typedef struct {
bool cleanup;
@ -808,9 +808,6 @@ parse_control (PinosStream *stream,
mem->fd = fd;
mem->ptr = NULL;
mem->size = p.size;
} else {
g_debug ("duplicated mem %d,%d, %d, %d", p.mem.pool_id, p.mem.id, fd, p.flags);
close (fd);
}
break;
}