comparison data/model/AlignmentModel.cpp @ 1725:78fe29adfd16

Re-implement extendEndFrame behaviour, used by Tony application
author Chris Cannam
date Wed, 19 Jun 2019 13:32:52 +0100
parents 54a954ee7529
children d91ff235e69d
comparison
equal deleted inserted replaced
1724:157c62ff0056 1725:78fe29adfd16
88 sv_frame_t b = m_aligned->getStartFrame(); 88 sv_frame_t b = m_aligned->getStartFrame();
89 return std::min(a, b); 89 return std::min(a, b);
90 } 90 }
91 91
92 sv_frame_t 92 sv_frame_t
93 AlignmentModel::getEndFrame() const 93 AlignmentModel::getTrueEndFrame() const
94 { 94 {
95 sv_frame_t a = m_reference->getEndFrame(); 95 sv_frame_t a = m_reference->getEndFrame();
96 sv_frame_t b = m_aligned->getEndFrame(); 96 sv_frame_t b = m_aligned->getEndFrame();
97 return std::max(a, b); 97 return std::max(a, b);
98 } 98 }