mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-17 05:09:58 +01:00
BugFix Seek callback
Fixed seek to accept different input (target time, target percent, or hh:mm:ss) and add OSC target for HH MM SS MS
This commit is contained in:
@@ -1594,6 +1594,17 @@ void SessionLoader::visit (PlayFastForward &c)
|
||||
c.setDuration(d);
|
||||
}
|
||||
|
||||
void SessionLoader::visit (Seek &c)
|
||||
{
|
||||
uint64_t v = 0.f;
|
||||
xmlCurrent_->QueryUnsigned64Attribute("value", &v);
|
||||
c.setValue(v);
|
||||
|
||||
bool b = false;
|
||||
xmlCurrent_->QueryBoolAttribute("bidirectional", &b);
|
||||
c.setBidirectional(b);
|
||||
}
|
||||
|
||||
void SessionLoader::visit (SetAlpha &c)
|
||||
{
|
||||
float a = 0.f;
|
||||
|
||||
Reference in New Issue
Block a user