mirror of
https://github.com/QuasarApp/SoundBand.git
synced 2025-04-29 00:34:32 +00:00
fix create package
This commit is contained in:
parent
f6eae542db
commit
af6e29f784
@ -300,7 +300,7 @@ bool Sync::createPackage(Type type, package &pac, milliseconds time){
|
|||||||
|
|
||||||
bool isbroadcaster = node->isBroadcaster();
|
bool isbroadcaster = node->isBroadcaster();
|
||||||
|
|
||||||
if(type & TypePackage::t_sync && isbroadcaster && time > 0){
|
if(type & TypePackage::t_sync && isbroadcaster){
|
||||||
pac.playdata.seek = player->position() + SYNC_TIME;
|
pac.playdata.seek = player->position() + SYNC_TIME;
|
||||||
pac.playdata.timeOn = ChronoTime::now(time) + SYNC_TIME;
|
pac.playdata.timeOn = ChronoTime::now(time) + SYNC_TIME;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user