From 089aa38ae69825be4e1b1dd1c8cd770db73e5a77 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 29 Oct 2016 16:02:31 +0000 Subject: 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 --- src/plugins/Engines/mplayer/mplayerengine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/Engines/mplayer') 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); } -- cgit v1.2.3-13-gbd6f