Removed confusing comments.
This commit is contained in:
parent
e0ab83e61c
commit
67e1a832a2
1 changed files with 1 additions and 2 deletions
|
@ -585,8 +585,7 @@ namespace Mist {
|
|||
curPositions.erase(curPositions.begin());
|
||||
|
||||
bool isKeyframe = false;
|
||||
if(nextKeyframe[curPart.trackID] < myMeta.tracks[curPart.trackID].keys.size()){//should almost always be true, simple check to make sure we are not checking outside the keyframe array table
|
||||
///\todo These 2 ifs are practically the same check, merge these when we are busy cleaning up the code.
|
||||
if(nextKeyframe[curPart.trackID] < myMeta.tracks[curPart.trackID].keys.size()){
|
||||
//checking if this is a keyframe
|
||||
if (myMeta.tracks[curPart.trackID].type == "video" && (long long int) curPart.time == myMeta.tracks[curPart.trackID].keys[(nextKeyframe[curPart.trackID])].getTime()){
|
||||
isKeyframe = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue