diff --git a/src/input/input.cpp b/src/input/input.cpp index 7ddb3f7a..d8f762b8 100644 --- a/src/input/input.cpp +++ b/src/input/input.cpp @@ -639,7 +639,7 @@ namespace Mist { static char liveSemName[NAME_BUFFER_SIZE]; snprintf(liveSemName, NAME_BUFFER_SIZE, SEM_LIVE, streamName.c_str()); - IPC::semaphore * liveSem = new IPC::semaphore(liveSemName, O_RDWR, ACCESSPERMS, 1, !myMeta.live); + IPC::semaphore * liveSem = new IPC::semaphore(liveSemName, O_RDWR, ACCESSPERMS, 8, !myMeta.live); if (*liveSem){ liveSem->wait(); }else{ diff --git a/src/input/input_buffer.cpp b/src/input/input_buffer.cpp index e0868a37..688ded63 100644 --- a/src/input/input_buffer.cpp +++ b/src/input/input_buffer.cpp @@ -476,7 +476,7 @@ namespace Mist { } /// \triggers - /// The `"STREAM_TRACK_REMOVE"` trigger is stream-specific, and is ran whenever a track is fully removed from a live strean buffer. It cannot be cancelled. Its payload is: + /// The `"STREAM_TRACK_REMOVE"` trigger is stream-specific, and is ran whenever a track is fully removed from a live stream buffer. It cannot be cancelled. Its payload is: /// ~~~~~~~~~~~~~~~ /// streamname /// trackID