Progress on HTTPSmooth Output for DTSCv2
This commit is contained in:
parent
9feb1c95d1
commit
d1c6fac70f
1 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ int main(int argc, char** argv){
|
||||||
if ( !source.getJSON()){
|
if ( !source.getJSON()){
|
||||||
playing = 0;
|
playing = 0;
|
||||||
}
|
}
|
||||||
if (source.getJSON().isMember("keyframe")){
|
if (source.atKeyframe()){
|
||||||
if (playing == -1 && meta["video"]["keyms"].asInt() > now - lastTime){
|
if (playing == -1 && meta["video"]["keyms"].asInt() > now - lastTime){
|
||||||
Util::sleep(meta["video"]["keyms"].asInt() - (now - lastTime));
|
Util::sleep(meta["video"]["keyms"].asInt() - (now - lastTime));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue