mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-30 09:05:04 +01:00
GstEngine: Finish pipeline before resetting in end of stream
This commit is contained in:
parent
a123de06c6
commit
4479daeaf1
@ -608,6 +608,8 @@ void GstEngine::EndOfStreamReached(const int pipeline_id, const bool has_next_tr
|
||||
}
|
||||
|
||||
if (!has_next_track) {
|
||||
GstEnginePipelinePtr old_pipeline = current_pipeline_;
|
||||
FinishPipeline(old_pipeline);
|
||||
current_pipeline_ = GstEnginePipelinePtr();
|
||||
BufferingFinished();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user