mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Don't try to update the scope if there's no buffer yet. Fixes #4388
This commit is contained in:
parent
e72cd6648a
commit
1e3cfb0a2c
@ -267,7 +267,10 @@ const Engine::Scope& GstEngine::scope(int chunk_length) {
|
||||
have_new_buffer_ = false;
|
||||
}
|
||||
|
||||
UpdateScope(chunk_length);
|
||||
if (latest_buffer_ != nullptr) {
|
||||
UpdateScope(chunk_length);
|
||||
}
|
||||
|
||||
return scope_;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user