[FFmpeg-cvslog] ffplay: signal seek event to read thread

Marton Balint git at videolan.org
Thu Feb 28 01:48:42 CET 2013


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Sat Feb 16 20:21:13 2013 +0100| [4be7d578a3cf03a77a277c78d6cf1420f87a7593] | committer: Marton Balint

ffplay: signal seek event to read thread

Improves seek delay.

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4be7d578a3cf03a77a277c78d6cf1420f87a7593
---

 ffplay.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ffplay.c b/ffplay.c
index 5a3d1b2..d5a9dc3 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);
     }
 }
 



More information about the ffmpeg-cvslog mailing list