mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-08-01 16:41:58 +00:00
memsink: caps protocol
This commit is contained in:
@@ -27,9 +27,18 @@
|
||||
|
||||
|
||||
#define US_MEMSINK_MAGIC ((u64)0xCAFEBABECAFEBABE)
|
||||
#define US_MEMSINK_VERSION ((u32)8)
|
||||
#define US_MEMSINK_VERSION ((u32)9)
|
||||
|
||||
|
||||
typedef struct {
|
||||
uint width;
|
||||
uint height;
|
||||
uint format;
|
||||
uint stride;
|
||||
uint fps;
|
||||
bool key;
|
||||
} us_memsink_wants_s;
|
||||
|
||||
typedef struct {
|
||||
u64 magic;
|
||||
u32 version;
|
||||
@@ -37,7 +46,7 @@ typedef struct {
|
||||
uz used;
|
||||
|
||||
ldf last_client_ts;
|
||||
bool key_requested;
|
||||
us_memsink_wants_s wants;
|
||||
|
||||
US_FRAME_META_DECLARE;
|
||||
} us_memsink_shared_s;
|
||||
|
||||
Reference in New Issue
Block a user