void KThumb::updateClipUrl(KUrl url, const QString &hash)
{
m_url = url;
- if (m_producer)
- m_producer->set("resource", url.path().toUtf8().constData());
+ //if (m_producer)
+ //m_producer->set("resource", url.path().toUtf8().constData());
m_thumbFile = m_clipManager->projectFolder() + "/thumbs/" + hash + ".thumb";
}
return p;
}
- /*Mlt::Producer parentProd(producer->parent());
- Mlt::Service service(parentProd.get_service());
- mlt_service_lock(service.get_service());*/
int ow = width;
int oh = height;
mlt_image_format format = mlt_image_rgb24a;
{
int theight = KdenliveSettings::trackheight();
int twidth = FRAME_SIZE;
- QString path = m_url.path() + "%";
+ QString path = m_url.path() + "_";
QImage img;
while (!m_intraFramesQueue.isEmpty()) {