Skip to content

Commit

Permalink
Track: Emit duration changed signal when updating stream info
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed May 29, 2021
1 parent a06e8ca commit cadecf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/track/track.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1616,6 +1616,7 @@ void Track::setAudioProperties(
m_record.refMetadata().ptrStreamInfo(),
streamInfo)) {
markDirtyAndUnlock(&lock);
emit durationChanged();
}
}

Expand All @@ -1631,6 +1632,7 @@ void Track::updateStreamInfoFromSource(
// Nothing more to do
if (updated) {
markDirtyAndUnlock(&lock);
emit durationChanged();
}
return;
}
Expand Down

0 comments on commit cadecf7

Please sign in to comment.