Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2013-02-16 23:21:13 +0400
committerMarton Balint <cus@passwd.hu>2013-02-28 00:34:12 +0400
commit4be7d578a3cf03a77a277c78d6cf1420f87a7593 (patch)
tree4fa8ec07f246c32d5915a2f82b8f64492e8be394 /ffplay.c
parent2ecf564f94f8b638d73e957eb9594a9b781e2028 (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.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);
}
}