diff options
author | Marton Balint <cus@passwd.hu> | 2013-02-16 23:21:13 +0400 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2013-02-28 00:34:12 +0400 |
commit | 4be7d578a3cf03a77a277c78d6cf1420f87a7593 (patch) | |
tree | 4fa8ec07f246c32d5915a2f82b8f64492e8be394 /ffplay.c | |
parent | 2ecf564f94f8b638d73e957eb9594a9b781e2028 (diff) |
ffplay: signal seek event to read thread
Improves seek delay.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1184,6 +1184,7 @@ static void stream_seek(VideoState *is, int64_t pos, int64_t rel, int seek_by_by if (seek_by_bytes) is->seek_flags |= AVSEEK_FLAG_BYTE; is->seek_req = 1; + SDL_CondSignal(is->continue_read_thread); } } |