[FFmpeg-devel] [PATCH 01/10] ffplay: signal seek event to read thread

Marton Balint cus at passwd.hu
Sat Feb 23 02:30:32 CET 2013


Improves seek delay.

Signed-off-by: Marton Balint <cus at passwd.hu>
---
 ffplay.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ffplay.c b/ffplay.c
index 83cf4ac..114428b 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);
     }
 }
 
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list