[Ffmpeg-cvslog] r7061 - trunk/ffplay.c

michael subversion
Tue Nov 14 17:39:53 CET 2006


Author: michael
Date: Tue Nov 14 17:39:32 2006
New Revision: 7061

Modified:
   trunk/ffplay.c

Log:
call AVCodec.flush() for audio too


Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	(original)
+++ trunk/ffplay.c	Tue Nov 14 17:39:32 2006
@@ -1922,6 +1922,7 @@
             }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);




More information about the ffmpeg-cvslog mailing list