• Jan Ekström's avatar
    ffmpeg_filter: initialize sub2video.end_pts together with last_pts · 8cf757ee
    Jan Ekström authored
    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.
    8cf757ee
Name
Last commit
Last update
..
Makefile Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
ffmpeg.c Loading commit data...
ffmpeg.h Loading commit data...
ffmpeg_cuvid.c Loading commit data...
ffmpeg_filter.c Loading commit data...
ffmpeg_hw.c Loading commit data...
ffmpeg_opt.c Loading commit data...
ffmpeg_qsv.c Loading commit data...
ffmpeg_videotoolbox.c Loading commit data...
ffplay.c Loading commit data...
ffprobe.c Loading commit data...