video-sync seek button WIP

This commit is contained in:
Vianney Boyer
2015-08-22 00:38:43 +02:00
parent 5c31b6080e
commit bb69f875fd
5 changed files with 30 additions and 19 deletions

View File

@@ -66,7 +66,6 @@ void VideoSyncFile::parseRLV()
Name = "";
Duration = -1;
valid = false; // did it parse ok?
rightPoint = leftPoint = 0;
format = RLV; // default to rlv until we know
Points.clear();
@@ -246,9 +245,7 @@ void VideoSyncFile::parseRLV()
// set RLVFile duration
Duration = Points.last().secs * 1000.0; // last is the end point in msecs
leftPoint = 0;
rightPoint = 1;
Distance = Points.last().km;
}
}