summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarton Balint <[email protected]>2013-02-16 20:21:13 +0100
committerMarton Balint <[email protected]>2013-02-27 21:34:12 +0100
commit4be7d578a3cf03a77a277c78d6cf1420f87a7593 (patch)
tree4fa8ec07f246c32d5915a2f82b8f64492e8be394
parent2ecf564f94f8b638d73e957eb9594a9b781e2028 (diff)
ffplay: signal seek event to read thread
Improves seek delay. Signed-off-by: Marton Balint <[email protected]>
-rw-r--r--ffplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 5a3d1b24a1..d5a9dc362c 100644
--- a/ffplay.c
+++ b/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)
is->seek_flags |= AVSEEK_FLAG_BYTE;
is->seek_req = 1;
+ SDL_CondSignal(is->continue_read_thread);
}
}