Fix calling SetPosition when not playing

This commit is contained in:
Chris Robinson 2014-06-25 21:50:52 -07:00
parent a6900b48ba
commit 0adfdf31dd

View file

@ -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.