diff options
author | Marton Balint <cus@passwd.hu> | 2013-02-16 20:21:13 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2013-02-27 21:34:12 +0100 |
commit | 4be7d578a3cf03a77a277c78d6cf1420f87a7593 (patch) | |
tree | 4fa8ec07f246c32d5915a2f82b8f64492e8be394 | |
parent | 2ecf564f94f8b638d73e957eb9594a9b781e2028 (diff) | |
download | ffmpeg-4be7d578a3cf03a77a277c78d6cf1420f87a7593.tar.gz |
ffplay: signal seek event to read thread
Improves seek delay.
Signed-off-by: Marton Balint <cus@passwd.hu>
-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); } } |