aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/mathops.h
diff options
context:
space:
mode:
authorRyoji Gyoda <gy.cft4@gmail.com>2021-11-22 02:06:20 +0900
committerMarton Balint <cus@passwd.hu>2021-11-29 22:20:20 +0100
commitd9f07a506d230321f826dcb50828e1d10e852b44 (patch)
treee21fc8b1d58c61a8d1632fa68077c3a264088104 /libavcodec/ppc/mathops.h
parent939711905a3674684a13635828e6784ebb7d1cde (diff)
downloadffmpeg-d9f07a506d230321f826dcb50828e1d10e852b44.tar.gz
avformat/fifo: avoid repeated scaling of timestamps on failure and recovery
If fifo_thread_recover() succeeds immediately after fifo_thread_dispatch_message() fails, the dts of the packet is scaled twice, causing cur_dts to be abnormally large and "Application provided invalid, non monotonically increasing dts to muxer in stream" to occur repeatedly. Steps to reproduce: 1. ffmpeg -f lavfi -i testsrc -c:v libx264 -map 0:v -flags +global_header -f fifo -fifo_format flv -attempt_recovery 1 -recover_any_error 1 rtmp://example.com/livekey 2. set a breakpoint on fifo_thread_recover 3. force disconnect from the rtmp server 4. wait for break 5. reconnect to the rtmp server 6. resume execution of ffmpeg Signed-off-by: Ryoji Gyoda <gy.cft4@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/ppc/mathops.h')
0 files changed, 0 insertions, 0 deletions