fixed smooth
This commit is contained in:
parent
fd4ea27a94
commit
4bf96abdd4
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ namespace Connector_HTTP {
|
||||||
for (JSON::ArrIter keyIt = allAudio.ObjBegin()->second["keys"].ArrBegin(); keyIt != allAudio.ObjBegin()->second["keys"].ArrEnd(); keyIt++){
|
for (JSON::ArrIter keyIt = allAudio.ObjBegin()->second["keys"].ArrBegin(); keyIt != allAudio.ObjBegin()->second["keys"].ArrEnd(); keyIt++){
|
||||||
Result << "<c ";
|
Result << "<c ";
|
||||||
if (keyIt == allAudio.ObjBegin()->second["keys"].ArrBegin()){
|
if (keyIt == allAudio.ObjBegin()->second["keys"].ArrBegin()){
|
||||||
Result << "t=\"" << allAudio.ObjBegin()->second["firstms"].asInt() * 10000 << "\" ";
|
// ensure proper audio start time (yes, this is video :D)
|
||||||
|
Result << "t=\"" << allVideo.ObjBegin()->second["firstms"].asInt() * 10000 << "\" ";
|
||||||
}
|
}
|
||||||
Result << "d=\"" << (*keyIt)["len"].asInt() * 10000 << "\" />\n";
|
Result << "d=\"" << (*keyIt)["len"].asInt() * 10000 << "\" />\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue