| 691 | } |
| 692 | |
| 693 | double PlaybackController::getCurrentItemsFrameRate() const |
| 694 | { |
| 695 | auto frameRate = this->currentItem[0]->properties().isIndexedByFrame() |
| 696 | ? this->currentItem[0]->properties().frameRate |
| 697 | : this->currentItem[1]->properties().frameRate; |
| 698 | |
| 699 | const auto lowestPossibleFps = 0.01; |
| 700 | if (frameRate < lowestPossibleFps) |
| 701 | frameRate = lowestPossibleFps; |
| 702 | return frameRate; |
| 703 | } |
no test coverage detected