m_errorMessage.append(i18n("Playlist has a different framerate (%1/%2fps), not recommended.",xmlProfile->frame_rate_num(),xmlProfile->frame_rate_den()));
QMetaObject::invokeMethod(pCore.get(),"displayBinMessage",Qt::QueuedConnection,Q_ARG(QString,i18n("Playlist has a different framerate (%1/%2fps), not supported.",xmlProfile->frame_rate_num(),xmlProfile->frame_rate_den())),
m_errorMessage.prepend(i18n("Failed to create proxy. FFmpeg not found, please set path in Kdenlive's settings Environment"));
QMetaObject::invokeMethod(pCore.get(),"displayBinMessage",Qt::QueuedConnection,Q_ARG(QString,i18n("FFmpeg not found, please set path in Kdenlive's settings Environment")),
Q_ARG(int,int(KMessageWidget::Warning)));
result=true;
m_progress=100;
pCore->taskManager.taskDone(m_owner.second,this);
...
...
@@ -368,7 +370,8 @@ void ProxyTask::run()
QFile::remove(dest);
// File was not created
result=false;
m_errorMessage.append(i18n("Failed to create proxy clip."));
QMetaObject::invokeMethod(pCore.get(),"displayBinLogMessage",Qt::QueuedConnection,Q_ARG(QString,i18n("Failed to create proxy clip.")),
m_errorMessage.prepend(i18n("Cannot analyse this clip type"));
QMetaObject::invokeMethod(pCore.get(),"displayBinMessage",Qt::QueuedConnection,Q_ARG(QString,i18n("Cannot analyse this clip type.")),
Q_ARG(int,int(KMessageWidget::Warning)));
pCore->taskManager.taskDone(m_owner.second,this);
qDebug()<<"=== ABORT 1";
return;
}
if(KdenliveSettings::ffmpegpath().isEmpty()){
// FFmpeg not detected, cannot process the Job
m_errorMessage.prepend(i18n("Failed to create proxy. FFmpeg not found, please set path in Kdenlive's settings Environment"));
QMetaObject::invokeMethod(pCore.get(),"displayBinMessage",Qt::QueuedConnection,Q_ARG(QString,i18n("FFmpeg not found, please set path in Kdenlive's settings Environment.")),
m_errorMessage.prepend(i18n("Failed to create proxy. FFmpeg not found, please set path in Kdenlive's settings Environment"));
QMetaObject::invokeMethod(pCore.get(),"displayBinMessage",Qt::QueuedConnection,Q_ARG(QString,i18n("FFmpeg not found, please set path in Kdenlive's settings Environment")),
Q_ARG(int,int(KMessageWidget::Warning)));
pCore->taskManager.taskDone(m_owner.second,this);
return;
}
...
...
@@ -200,7 +201,8 @@ void TranscodeTask::run()
if(QFileInfo(destUrl).size()==0){
QFile::remove(destUrl);
// File was not created
m_errorMessage.append(i18n("Failed to create file."));
QMetaObject::invokeMethod(pCore.get(),"displayBinLogMessage",Qt::QueuedConnection,Q_ARG(QString,i18n("Failed to create file.")),