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

int DocClipProject::playlistNextVideoTrack ( int  ix  )  const [slot]

Return the position of the next video track in the MLT playlist

Definition at line 339 of file docclipproject.cpp.

References m_tracks.

Referenced by Command::KAddEffectCommand::addEffect().

{
    int result = 0;
    QPtrListIterator < DocTrackBase > trackItt(m_tracks);
    while (ix>-1) {
        ++trackItt;
      if (!trackItt) return 0;
        ix--;
    }
    while (trackItt) {
        if  (trackItt.current()->clipType() != "Sound") result++;
        ++trackItt;
    }
    return result;
}


Generated by  Doxygen 1.6.0   Back to index