From 5e14757421e0206f951d8a246dbf0c85f460a08a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 29 Aug 2020 05:03:46 +0200 Subject: Fix 4k streaming a/v out of sync --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 2478cc5..1faffcf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -394,7 +394,7 @@ static pid_t launch_ffmpeg_rtmp_process(const char *url, int *pipe_write_end) { dup2(pipes[PIPE_READ_END], STDIN_FILENO); close(pipes[PIPE_WRITE_END]); - const char *args[] = { "ffmpeg", "-i", "pipe:0", "-c:v", "copy", "-f", "flv", "-max_muxing_queue_size", "4096", "--", url, NULL }; + const char *args[] = { "ffmpeg", "-i", "pipe:0", "-c:v", "copy", "-f", "flv", "--", url, NULL }; execvp(args[0], (char* const*)args); perror("failed to launch ffmpeg"); exit(127); -- cgit v1.2.3