From 4be7d578a3cf03a77a277c78d6cf1420f87a7593 Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Sat, 16 Feb 2013 20:21:13 +0100 Subject: [PATCH] ffplay: signal seek event to read thread Improves seek delay. Signed-off-by: Marton Balint --- ffplay.c | 1 + 1 file changed, 1 insertion(+) 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); } }