• Thierry Foucu's avatar
    fftools/ffmpeg: Check if we do have also a filter_complex filter. · 0ac3befd
    Thierry Foucu authored
    Right now, the code check for no filter description, but if we use a
    filter_complex, the code will use the AVFrame.duration which could be
    wrong in case of using fps filter.
    
    How to reproduce the problem:
    ffmpeg -f lavfi -i testsrc=duration=1 -vf fps=fps=50 -vsync 1 -f null -
    output 50 frames
    
    ffmpeg -f lavfi -i testsrc=duration=1 -filter_complex fps=fps=50 -vsync 1 -f null -
    output 51 frames
    
    With this commit, the same command will always output 50 frames.
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    0ac3befd
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...