mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-17 06:11:17 +08:00

This way re-initializations properly update end_pts, enabling sub2video_heartbeat to call sub2video_update as expected to re-init the sub2video AVFrame's contents and to feed a frame into the filter chain. This then fixes memory usage ballooning due to framesync waiting for secondary input in case of no actual subtitle samples being present for a while in source after a re-init occurs.