Merge pull request #3433 from nkmerrill/fastforwardfix
deps/media-playback: Fix fast-forward after reset
This commit is contained in:
commit
0ba9b201a7
2
deps/media-playback/media-playback/media.c
vendored
2
deps/media-playback/media-playback/media.c
vendored
@ -691,6 +691,8 @@ static inline bool mp_media_thread(mp_media_t *m)
|
||||
if (!is_active || pause) {
|
||||
if (os_sem_wait(m->sem) < 0)
|
||||
return false;
|
||||
if (pause)
|
||||
reset_ts(m);
|
||||
} else {
|
||||
timeout = mp_media_sleepto(m);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user