diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-08-29 05:03:46 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-29 05:03:46 +0200 |
commit | 5e14757421e0206f951d8a246dbf0c85f460a08a (patch) | |
tree | 23c64dcfabf03ebb4c1064535ec2be3c1fb4a457 /src | |
parent | e3d4c6a77dc513803a37d4e76acde72cd801cda7 (diff) |
Fix 4k streaming a/v out of sync
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |