projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75bb7b0
)
Avoid 100% CPU useage at EOF.
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 19 Apr 2009 20:25:20 +0000
(20:25 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 19 Apr 2009 20:25:20 +0000
(20:25 +0000)
Originally committed as revision 18625 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
6984ff8
..
3e52af7
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-2079,6
+2079,7
@@
static int decode_thread(void *arg)
pkt->size=0;
pkt->stream_index= is->video_stream;
packet_queue_put(&is->videoq, pkt);
+ SDL_Delay(10);
continue;
}
ret = av_read_frame(ic, pkt);