Logo Search packages:      
Sourcecode: kdenlive version File versions

void DocClipBase::setDuration ( GenTime  dur )

returns the duration of this clip

Definition at line 217 of file docclipbase.cpp.

References GenTime::frames(), and m_properties.

Referenced by DocClipBase(), and setProducer().

{
    m_duration = dur;
    m_properties.insert("duration", QString::number((int) dur.frames(KdenliveSettings::project_fps())));
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index