From cadecf7667d371108b7a6808c8936e4adf4289eb Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Sat, 29 May 2021 17:38:04 +0200 Subject: [PATCH] Track: Emit duration changed signal when updating stream info --- src/track/track.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/track/track.cpp b/src/track/track.cpp index d51d5159dde..63eb3f905ba 100644 --- a/src/track/track.cpp +++ b/src/track/track.cpp @@ -1616,6 +1616,7 @@ void Track::setAudioProperties( m_record.refMetadata().ptrStreamInfo(), streamInfo)) { markDirtyAndUnlock(&lock); + emit durationChanged(); } } @@ -1631,6 +1632,7 @@ void Track::updateStreamInfoFromSource( // Nothing more to do if (updated) { markDirtyAndUnlock(&lock); + emit durationChanged(); } return; }