mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-20 04:41:36 +02:00
Fixed AudioOutput::isSeekable for position-based vlc events.
This commit is contained in:
@@ -425,8 +425,8 @@ AudioOutput::seek( qint64 milliseconds )
|
||||
bool
|
||||
AudioOutput::isSeekable() const
|
||||
{
|
||||
tDebug() << Q_FUNC_INFO << m_seekable << m_havePosition << m_totalTime << libvlc_media_player_is_seekable( m_vlcPlayer );
|
||||
return !m_havePosition || (libvlc_media_player_is_seekable( m_vlcPlayer ) && m_totalTime > 0);
|
||||
// tDebug() << Q_FUNC_INFO << m_seekable << m_havePosition << m_totalTime << libvlc_media_player_is_seekable( m_vlcPlayer );
|
||||
return m_havePosition || (libvlc_media_player_is_seekable( m_vlcPlayer ) && m_totalTime > 0 );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user