mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-18 18:31:43 +00:00
Fix calling SetPosition when not playing
This commit is contained in:
parent
a6900b48ba
commit
0adfdf31dd
1 changed files with 2 additions and 0 deletions
|
@ -323,6 +323,8 @@ public:
|
|||
if(!Decoder->seek(ms_pos))
|
||||
return false;
|
||||
|
||||
if(!Playing)
|
||||
return true;
|
||||
// Stop the source so that all buffers become processed, then call
|
||||
// IsEnded() to refill and restart the source queue with the new
|
||||
// position.
|
||||
|
|
Loading…
Reference in a new issue