Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

double DocTrackBase::framesPerSecond (  )  const [inherited]

Returns the number of frames per second this track should play at.

Definition at line 695 of file doctrackbase.cpp.

References DocClipProject::framesPerSecond(), and DocTrackBase::m_project.

Referenced by Gui::KTrackPlacer::drawToBackBuffer(), LoadProjectKinoFilter::loadSeq(), DocTrackBase::resizeClipTrackEnd(), and DocTrackBase::resizeClipTrackStart().

{
    double result = 1;

    if (m_project) {
      result = m_project->framesPerSecond();
    } else {
      kdError() <<
          "DocTrackBase is not in a project clip - cannot determine frames per second."
          << endl;
    }

    return result;
}


Generated by  Doxygen 1.6.0   Back to index