1
0
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:
Jonas Kvinge 2024-09-29 23:35:14 +02:00
parent a123de06c6
commit 4479daeaf1

View File

@ -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();
}