diff options
| -rw-r--r-- | README | 1 | ||||
| -rw-r--r-- | README.RUS | 1 | ||||
| -rw-r--r-- | src/plugins/Input/mad/decoder_mad.cpp | 2 | ||||
| -rw-r--r-- | src/qmmp/output.cpp | 3 | ||||
| -rw-r--r-- | src/ui/mainwindow.cpp | 4 |
5 files changed, 9 insertions, 2 deletions
@@ -57,6 +57,7 @@ Requirements: - faad2 >= 2.6.1 (Optional) - libbs2b >= 3.0.0 (Optional) - libprojectM >= 1.2.0 (Optional) +- mplayer (Optional) - cmake >= 2.4.8 (for build only) diff --git a/README.RUS b/README.RUS index 014c048aa..f57a832cf 100644 --- a/README.RUS +++ b/README.RUS @@ -57,6 +57,7 @@ Qmmp - Qt-based multimedia player - faad2 >= 2.6.1 (Опционально) - libbs2b >= 3.0.0 (Опционально) - libprojectM >= 1.2.0 (Опционально) +- mplayer (Опционально) - cmake >= 2.4.8 (только для сборки) Внимание! Для сборки Qmmp нужна утилита lrelease. Очень часто она находится в пакете qt4-linguist. diff --git a/src/plugins/Input/mad/decoder_mad.cpp b/src/plugins/Input/mad/decoder_mad.cpp index 578fc2ab0..4eff67ad3 100644 --- a/src/plugins/Input/mad/decoder_mad.cpp +++ b/src/plugins/Input/mad/decoder_mad.cpp @@ -444,10 +444,12 @@ void DecoderMAD::run() if (len == 0) { + qDebug("DecoderMAD: end of file"); eof = true; } else if (len < 0) { + qWarning("DecoderMAD: %s", qPrintable(input()->errorString ())); derror = true; break; } diff --git a/src/qmmp/output.cpp b/src/qmmp/output.cpp index 3ce48699b..77a28a39a 100644 --- a/src/qmmp/output.cpp +++ b/src/qmmp/output.cpp @@ -205,7 +205,10 @@ void Output::run() mutex()->lock (); //write remaining data if(m_finish) + { flush(); + qDebug("Output: total written %lld", m_totalWritten); + } dispatch(Qmmp::Stopped); mutex()->unlock(); } diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index 50c695d3c..e9f2ed27c 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -260,8 +260,8 @@ void MainWindow::showState(Qmmp::State state) void MainWindow::showMetaData() { qDebug("===== metadata ======"); - qDebug("ARTIST = %s", qPrintable(m_core->metaData(Qmmp::TITLE))); - qDebug("TITLE = %s", qPrintable(m_core->metaData(Qmmp::ARTIST))); + qDebug("ARTIST = %s", qPrintable(m_core->metaData(Qmmp::ARTIST))); + qDebug("TITLE = %s", qPrintable(m_core->metaData(Qmmp::TITLE))); qDebug("ALBUM = %s", qPrintable(m_core->metaData(Qmmp::ALBUM))); qDebug("COMMENT = %s", qPrintable(m_core->metaData(Qmmp::COMMENT))); qDebug("GENRE = %s", qPrintable(m_core->metaData(Qmmp::GENRE))); |
