mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 09:41:32 +08:00
deps/media-playback: Fix fast-forward after reset
Fixes #3341 by ensuring timestamps are reset after pausing.
This commit is contained in:
+2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user