diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-02-22 14:53:23 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-02-22 14:53:23 +0000 |
| commit | 36460a06f31ca92371d84d59bd9dd52f0c5a46a0 (patch) | |
| tree | f6ad1a44302c92083467dfc139b6362068c6d1ed /src/plugins/Engines | |
| parent | 5e38daa8fa1d75f7f9d3fd563f2c25a528813f46 (diff) | |
| download | qmmp-36460a06f31ca92371d84d59bd9dd52f0c5a46a0.tar.gz qmmp-36460a06f31ca92371d84d59bd9dd52f0c5a46a0.tar.bz2 qmmp-36460a06f31ca92371d84d59bd9dd52f0c5a46a0.zip | |
reverted r1563 (Closes issue 254)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1566 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Engines')
| -rw-r--r-- | src/plugins/Engines/mplayer/mplayerengine.cpp | 16 | ||||
| -rw-r--r-- | src/plugins/Engines/mplayer/mplayerengine.h | 2 |
2 files changed, 4 insertions, 14 deletions
diff --git a/src/plugins/Engines/mplayer/mplayerengine.cpp b/src/plugins/Engines/mplayer/mplayerengine.cpp index fec80a46e..bf315c2eb 100644 --- a/src/plugins/Engines/mplayer/mplayerengine.cpp +++ b/src/plugins/Engines/mplayer/mplayerengine.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2010 by Ilya Kotov * + * Copyright (C) 2008-2009 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -120,21 +120,11 @@ bool MplayerEngine::enqueue(InputSource *source) } if(!supports) return FALSE; - + source->deleteLater(); if(m_process->state() == QProcess::NotRunning) m_url = url; else - { - if(source->isQueued()) - m_files.enqueue(url); - else - { - stop(); - m_url = url; - start(); - } - } - source->deleteLater(); + m_files.enqueue(url); return TRUE; } diff --git a/src/plugins/Engines/mplayer/mplayerengine.h b/src/plugins/Engines/mplayer/mplayerengine.h index bd34b535c..cc6b12d16 100644 --- a/src/plugins/Engines/mplayer/mplayerengine.h +++ b/src/plugins/Engines/mplayer/mplayerengine.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2010 by Ilya Kotov * + * Copyright (C) 2008-2009 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * |
