Discard MediaInfo "error" (E:) lines.
This commit is contained in:
parent
663bfd123c
commit
2e6236d842
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user