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:
1fc17d1
)
call AVCodec.flush() for audio too
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 14 Nov 2006 16:39:32 +0000
(16:39 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 14 Nov 2006 16:39:32 +0000
(16:39 +0000)
Originally committed as revision 7061 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
5ac33c6
..
e84b95c
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-1922,6
+1922,7
@@
static int decode_thread(void *arg)
}else{
if (is->audio_stream >= 0) {
packet_queue_flush(&is->audioq);
+ avcodec_flush_buffers(ic->streams[audio_index]->codec);
}
if (is->subtitle_stream >= 0) {
packet_queue_flush(&is->subtitleq);