Fixed high CPU usage on fast-playing recordings that have a dynamic end time
This commit is contained in:
parent
99907782ae
commit
280743051a
1 changed files with 0 additions and 6 deletions
|
@ -1379,12 +1379,6 @@ namespace Mist{
|
||||||
bool Output::prepareNext(){
|
bool Output::prepareNext(){
|
||||||
static size_t emptyCount = 0;
|
static size_t emptyCount = 0;
|
||||||
if (!buffer.size()){
|
if (!buffer.size()){
|
||||||
/// \TODO Do we really need this? Seems error-prone.
|
|
||||||
if (isRecording() && M.getLive()){
|
|
||||||
selectDefaultTracks();
|
|
||||||
initialSeek();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
thisPacket.null();
|
thisPacket.null();
|
||||||
INFO_MSG("Buffer completely played out");
|
INFO_MSG("Buffer completely played out");
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue