CLAP state support; Ignore hosts which cannot supply time frame
This commit is contained in:
parent
17d1878a0b
commit
69c1d63ef8
2 changed files with 6 additions and 2 deletions
2
dpf
2
dpf
|
@ -1 +1 @@
|
|||
Subproject commit 34d1547e311ba675a59040d65128167cf8c48a24
|
||||
Subproject commit e735e7efdcd2ee1d1c3e91db845c56581cc9d241
|
|
@ -1270,7 +1270,11 @@ protected:
|
|||
{
|
||||
const TimePosition& timePos(getTimePosition());
|
||||
|
||||
const bool reset = timePos.playing && (timePos.frame == 0 || d_isDiffHigherThanLimit(fNextExpectedFrame, timePos.frame, (uint64_t)2));
|
||||
bool reset = timePos.playing && (timePos.frame == 0 || d_isDiffHigherThanLimit(fNextExpectedFrame, timePos.frame, (uint64_t)2));
|
||||
|
||||
// ignore hosts which cannot supply time frame position
|
||||
if (context->playing == timePos.playing && timePos.frame == 0 && context->frame == 0)
|
||||
reset = false;
|
||||
|
||||
context->playing = timePos.playing;
|
||||
context->bbtValid = timePos.bbt.valid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue