Mercurial > libavformat.hg
comparison tcp.c @ 1941:c2d0bdc9e6f1 libavformat
av_estimate_timings_from_pts() flushes the packet queue but doesn't
reset the streams' cur_dts values. This can lead to a fatal "error,
non monotone timestamps ..." message later, because the out-of-date
cur_dts values are used to compute some packet's dts.
Fix this by calling av_read_frame_flush() and eliminate code
duplication in the process.
The additional hunk gives more detailed error messages.
patch by Wolfram Gloger, wmglo dent.med.uni-muenchen de
author | diego |
---|---|
date | Wed, 21 Mar 2007 10:48:10 +0000 |
parents | d85795da84ab |
children | b6b8a9836cf9 |
comparison
equal
deleted
inserted
replaced
1940:1a7f66384792 | 1941:c2d0bdc9e6f1 |
---|