mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-07-19 18:21:58 +00:00
dma_fd in frame
This commit is contained in:
@@ -27,6 +27,7 @@ frame_s *frame_init(void) {
|
||||
frame_s *frame;
|
||||
A_CALLOC(frame, 1);
|
||||
frame_realloc_data(frame, 512 * 1024);
|
||||
frame->dma_fd = -1;
|
||||
return frame;
|
||||
}
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ typedef struct {
|
||||
uint8_t *data;
|
||||
size_t used;
|
||||
size_t allocated;
|
||||
int dma_fd;
|
||||
|
||||
unsigned width;
|
||||
unsigned height;
|
||||
|
||||
Reference in New Issue
Block a user