Logo Search packages:      
Sourcecode: kdenlive version File versions

Mlt::Producer * DocClipBase::videoProducer (  )

Retrieve the producer that shows only video

Definition at line 570 of file docclipbase.cpp.

References adjustProducerProperties(), cloneProducer(), getId(), and m_producerMutex.

Referenced by CustomTrackView::doSplitAudio(), and ClipItem::getProducer().

    QMutexLocker locker(&m_producerMutex);
    if (m_videoOnlyProducer == NULL) {
        int i;
        for (i = 0; i < m_baseTrackProducers.count(); i++)
            if (m_baseTrackProducers.at(i) != NULL) break;
        if (i >= m_baseTrackProducers.count()) return NULL;
        m_videoOnlyProducer = cloneProducer(m_baseTrackProducers.at(i));
        adjustProducerProperties(m_videoOnlyProducer, QString(getId() + "_video"), true, false);
    return m_videoOnlyProducer;

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