Mercurial > hg > svcore
comparison data/model/AlignmentModel.cpp @ 379:62789d79b98f sv1-v1.2pre4
* Further fixes to the handling of playback frame and buffered frame counts
author | Chris Cannam |
---|---|
date | Mon, 11 Feb 2008 12:46:39 +0000 |
parents | ab24af1271e9 |
children | 88ad01799040 |
comparison
equal
deleted
inserted
replaced
378:a38cd7823cb2 | 379:62789d79b98f |
---|---|
276 // increasing. | 276 // increasing. |
277 | 277 |
278 const PathModel::PointList &points = path->getPoints(); | 278 const PathModel::PointList &points = path->getPoints(); |
279 | 279 |
280 if (points.empty()) { | 280 if (points.empty()) { |
281 #ifdef DEBUG_ALIGNMENT_MODEL | |
281 std::cerr << "AlignmentModel::align: No points" << std::endl; | 282 std::cerr << "AlignmentModel::align: No points" << std::endl; |
283 #endif | |
282 return frame; | 284 return frame; |
283 } | 285 } |
284 | 286 |
285 #ifdef DEBUG_ALIGNMENT_MODEL | 287 #ifdef DEBUG_ALIGNMENT_MODEL |
286 std::cerr << "AlignmentModel::align: frame " << frame << " requested" << std::endl; | 288 std::cerr << "AlignmentModel::align: frame " << frame << " requested" << std::endl; |