mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-14 10:05:32 +02:00
Don't spam the log if VLC detects total-time changed. This can happen a lot.
This commit is contained in:
@@ -321,7 +321,7 @@ AudioOutput::setCurrentTime( qint64 time )
|
|||||||
m_currentTime = time;
|
m_currentTime = time;
|
||||||
emit tick( time );
|
emit tick( time );
|
||||||
|
|
||||||
// tDebug() << Q_FUNC_INFO << "Current time : " << m_currentTime << " / " << m_totalTime;
|
// tDebug() << Q_FUNC_INFO << "Current time:" << m_currentTime << "/" << m_totalTime;
|
||||||
|
|
||||||
// FIXME pt 2 : we use temporary variable to avoid overriding m_totalTime
|
// FIXME pt 2 : we use temporary variable to avoid overriding m_totalTime
|
||||||
// in the case it is < 0 (which means that the media is not seekable)
|
// in the case it is < 0 (which means that the media is not seekable)
|
||||||
@@ -353,7 +353,7 @@ AudioOutput::totalTime() const
|
|||||||
void
|
void
|
||||||
AudioOutput::setTotalTime( qint64 time )
|
AudioOutput::setTotalTime( qint64 time )
|
||||||
{
|
{
|
||||||
tDebug() << Q_FUNC_INFO << time;
|
// tDebug() << Q_FUNC_INFO << time;
|
||||||
|
|
||||||
if ( time <= 0 )
|
if ( time <= 0 )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user