diff options
Diffstat (limited to 'src')
| -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 |
3 files changed, 7 insertions, 2 deletions
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))); |
