GstEnginePipeline: Set volume_set_ to false in ElementRemovedCallback

This commit is contained in:
Jonas Kvinge 2024-03-24 19:44:47 +01:00
parent 9bbffe150f
commit d1042b276b
1 changed files with 1 additions and 0 deletions

View File

@ -954,6 +954,7 @@ void GstEnginePipeline::ElementRemovedCallback(GstBin *bin, GstBin*, GstElement
g_signal_handler_disconnect(G_OBJECT(instance->volume_), instance->notify_volume_cb_id_);
instance->notify_volume_cb_id_ = -1;
instance->volume_ = nullptr;
instance->volume_set_ = false;
}
}