player_control: auto-start playback when seeking is requested
Now that the player thread can handle SEEK commands while not (yet) playing, we can remove the "pc.state" check from pc_seek().
This commit is contained in:
@@ -309,9 +309,6 @@ pc_seek(struct song *song, float seek_time)
|
||||
{
|
||||
assert(song != NULL);
|
||||
|
||||
if (pc.state == PLAYER_STATE_STOP)
|
||||
return false;
|
||||
|
||||
player_lock();
|
||||
pc.next_song = song;
|
||||
pc.seek_where = seek_time;
|
||||
|
Reference in New Issue
Block a user