Fixed Windows-based live streams
This commit is contained in:
parent
3f3fd585c1
commit
db511a6e32
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,8 @@ namespace Mist {
|
|||
//Re-init streamStatus, previously closed
|
||||
char pageName[NAME_BUFFER_SIZE];
|
||||
snprintf(pageName, NAME_BUFFER_SIZE, SHM_STREAM_STATE, streamName.c_str());
|
||||
streamStatus.init(pageName, 1, false, false);
|
||||
streamStatus.init(pageName, 1, true, false);
|
||||
streamStatus.master = false;
|
||||
if (streamStatus){streamStatus.mapped[0] = STRMSTAT_INIT;}
|
||||
if (needsLock()){playerLock.close();}
|
||||
if (!preRun()){return 0;}
|
||||
|
|
Loading…
Add table
Reference in a new issue