ffplay: signal seek event to read thread
Improves seek delay. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
2ecf564f94
commit
4be7d578a3
1
ffplay.c
1
ffplay.c
@ -1184,6 +1184,7 @@ static void stream_seek(VideoState *is, int64_t pos, int64_t rel, int seek_by_by
|
|||||||
if (seek_by_bytes)
|
if (seek_by_bytes)
|
||||||
is->seek_flags |= AVSEEK_FLAG_BYTE;
|
is->seek_flags |= AVSEEK_FLAG_BYTE;
|
||||||
is->seek_req = 1;
|
is->seek_req = 1;
|
||||||
|
SDL_CondSignal(is->continue_read_thread);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user