From acc462c2816f0d9c530cb6ab3f340e3e77b57de3 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 21 Apr 2015 17:14:13 +0200 Subject: [PATCH] Minor edit to live buffer semaphore naming. --- src/input/input_buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/input_buffer.cpp b/src/input/input_buffer.cpp index da868a11..bc357bab 100644 --- a/src/input/input_buffer.cpp +++ b/src/input/input_buffer.cpp @@ -68,7 +68,7 @@ namespace Mist { myMeta.vod = false; myMeta.live = true; static char liveSemName[NAME_BUFFER_SIZE]; - snprintf(liveSemName, NAME_BUFFER_SIZE, SEM_LIVE, config->getString("streamname").c_str()); + snprintf(liveSemName, NAME_BUFFER_SIZE, SEM_LIVE, streamName.c_str()); IPC::semaphore liveMeta(liveSemName, O_CREAT | O_RDWR, ACCESSPERMS, 1); liveMeta.wait(); if (!metaPages.count(0) || !metaPages[0].mapped) {