Commit c2ed5294 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Display error message if proxy duration is incorrect

svn path=/trunk/kdenlive/; revision=5565
parent 21812fe2
...@@ -1299,8 +1299,10 @@ void ProjectList::slotRemoveInvalidProxy(const QString &id, bool durationError) ...@@ -1299,8 +1299,10 @@ void ProjectList::slotRemoveInvalidProxy(const QString &id, bool durationError)
{ {
ProjectItem *item = getItemById(id); ProjectItem *item = getItemById(id);
if (item) { if (item) {
//TODO: use durationError to display correct message to user after 0.8 release if (durationError) {
if (durationError) kDebug() << "Proxy duration is wrong, try changing transcoding parameters."; kDebug() << "Proxy duration is wrong, try changing transcoding parameters.";
emit displayMessage(i18n("Proxy clip unusable (duration is different from original)."), -2);
}
item->setProxyStatus(PROXYCRASHED); item->setProxyStatus(PROXYCRASHED);
QString path = item->referencedClip()->getProperty("proxy"); QString path = item->referencedClip()->getProperty("proxy");
KUrl proxyFolder(m_doc->projectFolder().path( KUrl::AddTrailingSlash) + "proxy/"); KUrl proxyFolder(m_doc->projectFolder().path( KUrl::AddTrailingSlash) + "proxy/");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment