File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Sources/CSFBAudioEngine/Player Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -993,7 +993,6 @@ bool PerformSeek() noexcept
993993 DecoderState *decoderState = nullptr ;
994994 auto ringBufferStale = false ;
995995
996- // Get the earliest decoder state that has not completed rendering
997996 {
998997 std::lock_guard lock{activeDecodersLock_};
999998 decoderState = FirstDecoderStateWithRenderingNotComplete ();
@@ -1015,6 +1014,9 @@ bool PerformSeek() noexcept
10151014
10161015 decoderState = FirstDecoderStateFollowingSequenceNumberWithRenderingNotComplete (decoderState->sequenceNumber_ );
10171016 }
1017+
1018+ // Get the earliest decoder state that has not completed rendering
1019+ decoderState = FirstDecoderStateWithRenderingNotComplete ();
10181020 }
10191021
10201022 // Process pending seeks
You can’t perform that action at this time.
0 commit comments