mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2026-01-03 07:02:26 +00:00
fix timestamp
This commit is contained in:
parent
79804604bd
commit
ef8adca0fc
@ -1,5 +1,5 @@
|
||||
#define QUEUE_SIZE 16
|
||||
#define PACKET_SIZE 5 * 1024 * 1024
|
||||
#define QUEUE_SIZE 64
|
||||
#define PACKET_SIZE 512 * 1024
|
||||
|
||||
typedef struct {
|
||||
int active;
|
||||
|
||||
@ -276,6 +276,7 @@ main(int argc, char *argv[]) {
|
||||
memcpy(queue->incoming[updated].data + sizeof(uint32_t) + sizeof(uint32_t),ptr,size);
|
||||
queue->incoming[updated].size = size + sizeof(uint32_t) + sizeof(uint32_t);
|
||||
queue->inindex = updated;
|
||||
last_timestamp = timestamp;
|
||||
} while (video_packets->peek());
|
||||
} else if (queue_type == QueueType::Audio) {
|
||||
do {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user