GstEnginePipeline: Set and notify volume only when changed

Another fix for #1089
This commit is contained in:
Jonas Kvinge
2023-01-03 21:32:20 +01:00
parent 286b908062
commit 1dfe07003f
2 changed files with 9 additions and 5 deletions

View File

@@ -275,6 +275,7 @@ class GstEnginePipeline : public QObject {
// Complete the transition to the next song when it starts playing
bool next_uri_set_;
gdouble volume_internal_;
uint volume_percent_;
std::shared_ptr<QTimeLine> fader_;