Discard MediaInfo "error" (E:) lines.

This commit is contained in:
LoRd_MuldeR 2017-04-21 19:58:20 +02:00
parent 663bfd123c
commit 2e6236d842

View File

@ -528,6 +528,13 @@ void CMainWindow::processFinished(void)
m_outputLines.takeLast();
}
//Remove leading "E:" lines
while ((!m_outputLines.isEmpty()) && m_outputLines.first().trimmed().startsWith(QLatin1String("E: ")))
{
qWarning("E: line has been removed!");
m_outputLines.takeFirst();
}
//Failed?
if(m_outputLines.empty())
{