GstEnginePipeline: Add mutex locker for Spotify access token

This commit is contained in:
Jonas Kvinge
2024-11-11 16:16:29 +01:00
parent 07c898581c
commit 3d2315f754
2 changed files with 4 additions and 1 deletions

View File

@@ -263,6 +263,7 @@ class GstEnginePipeline : public QObject {
// Spotify
#ifdef HAVE_SPOTIFY
QString spotify_access_token_;
mutable QMutex mutex_spotify_access_token_;
#endif
// The URL that is currently playing, and the URL that is to be preloaded when the current track is close to finishing.