aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-10-29 16:02:31 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-10-29 16:02:31 +0000
commit089aa38ae69825be4e1b1dd1c8cd770db73e5a77 (patch)
treec28c4c8f12e6bbe808994559b8ca8e181b00df16 /src
parent8a8273d87e2442c5f29b2032ab926a547b78e62e (diff)
downloadqmmp-089aa38ae69825be4e1b1dd1c8cd770db73e5a77.tar.gz
qmmp-089aa38ae69825be4e1b1dd1c8cd770db73e5a77.tar.bz2
qmmp-089aa38ae69825be4e1b1dd1c8cd770db73e5a77.zip
mplayer engine: fixed error proccessing
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6813 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Engines/mplayer/mplayerengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Engines/mplayer/mplayerengine.cpp b/src/plugins/Engines/mplayer/mplayerengine.cpp
index 324c572ba..a88e6dbc8 100644
--- a/src/plugins/Engines/mplayer/mplayerengine.cpp
+++ b/src/plugins/Engines/mplayer/mplayerengine.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2015 by Ilya Kotov *
+ * Copyright (C) 2008-2016 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -254,7 +254,7 @@ void MplayerEngine::readStdOut()
void MplayerEngine::onError(QProcess::ProcessError error)
{
- if(error == QProcess::FailedToStart || error == QProcess::FailedToStart)
+ if(error == QProcess::FailedToStart || error == QProcess::Crashed)
StateHandler::instance()->dispatch(Qmmp::FatalError);
qWarning("MplayerEngine: process error: %d", error);
}