Fix TSStream standard input dropping packets

This commit is contained in:
Thulinma 2016-08-25 11:57:54 +02:00
parent ae2e67e1bb
commit b73ee01388

View file

@ -433,7 +433,9 @@ namespace Mist {
lock.post(); lock.post();
threadCheckTimer = Util::bootSecs(); threadCheckTimer = Util::bootSecs();
} }
Util::sleep(100); if (pushing){
Util::sleep(100);
}
} }
finish(); finish();
INFO_MSG("Input for stream %s closing clean", streamName.c_str()); INFO_MSG("Input for stream %s closing clean", streamName.c_str());