[FFmpeg-cvslog] avformat/utils: reinject global side data on seeks

Michael Niedermayer git at videolan.org
Sun Apr 13 18:32:41 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Apr 13 18:27:05 2014 +0200| [82796aacab1bea42c345221abb86d3f4db4371f3] | committer: Michael Niedermayer

avformat/utils: reinject global side data on seeks

This fixes ffplay replaygain with seeking

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/utils.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 768acd4..2014577 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1716,6 +1716,8 @@ void ff_read_frame_flush(AVFormatContext *s)
 
         for (j = 0; j < MAX_REORDER_DELAY + 1; j++)
             st->pts_buffer[j] = AV_NOPTS_VALUE;
+
+        st->global_side_data_injected = 0;
     }
 }
 



More information about the ffmpeg-cvslog mailing list