diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-10-04 20:16:05 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-10-04 20:16:05 +0000 |
| commit | 1001095d12e2cd42d966d2016c34bc83ac600fd4 (patch) | |
| tree | 3c2b9e2d57266a5586e3346087123380267a8bd3 /src | |
| parent | 00c75af2d94243249ff37168a980352fc6f65ebd (diff) | |
| download | qmmp-1001095d12e2cd42d966d2016c34bc83ac600fd4.tar.gz qmmp-1001095d12e2cd42d966d2016c34bc83ac600fd4.tar.bz2 qmmp-1001095d12e2cd42d966d2016c34bc83ac600fd4.zip | |
fixed issue with incorrect audio properties displaying
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9082 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
| -rw-r--r-- | src/qmmp/outputwriter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qmmp/outputwriter.cpp b/src/qmmp/outputwriter.cpp index 3fc36af2c..9d39696b9 100644 --- a/src/qmmp/outputwriter.cpp +++ b/src/qmmp/outputwriter.cpp @@ -365,6 +365,9 @@ void OutputWriter::status() if (ct < 0) ct = 0; + if(m_currentMilliseconds == -1) //refresh audio properties in the begin of track + dispatch(m_output->audioParameters()); + if (ct > m_currentMilliseconds) { m_currentMilliseconds = ct; |
