• Wolfram Gloger's avatar
    av_estimate_timings_from_pts() flushes the packet queue but doesn't · df7625ed
    Wolfram Gloger authored
    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
    
    Originally committed as revision 8465 to svn://svn.ffmpeg.org/ffmpeg/trunk
    df7625ed
Name
Last commit
Last update
doc Loading commit data...
libavcodec Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswscale Loading commit data...
tests Loading commit data...
vhook Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
build_avopt Loading commit data...
clean-diff Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
cws2fws.c Loading commit data...
ffinstall.nsi Loading commit data...
ffmpeg.c Loading commit data...
ffplay.c Loading commit data...
ffserver.c Loading commit data...
ffserver.h Loading commit data...
output_example.c Loading commit data...
pktdumper.c Loading commit data...
qt-faststart.c Loading commit data...
unwrap-diff Loading commit data...
version.sh Loading commit data...