ffmpeg/fftools
Thierry Foucu 0ac3befd47 fftools/ffmpeg: Check if we do have also a filter_complex filter.
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: Michael Niedermayer <michael@niedermayer.cc>
2019-03-28 21:29:20 +01:00
..
cmdutils.c cmdutils: print a more descriptive error message in show_help_bsf() when no bsf is specified 2018-07-28 11:14:45 -03:00
cmdutils.h cmdutils: print supported codecs in show_help_bsf() 2018-03-22 00:15:05 -03:00
ffmpeg.c fftools/ffmpeg: Check if we do have also a filter_complex filter. 2019-03-28 21:29:20 +01:00
ffmpeg.h fftools/ffmpeg: fix for all forced key frames when 'copyts' is enabled 2018-06-04 22:26:55 +02:00
ffmpeg_cuvid.c
ffmpeg_filter.c ffmpeg_filter: initialize sub2video.end_pts together with last_pts 2019-02-21 20:13:21 +02:00
ffmpeg_hw.c ffmpeg: Use codec hardware config to configure hwaccels 2017-11-26 21:41:19 +00:00
ffmpeg_opt.c ffmpeg_opt: Print a warning if more than one -vf/-af option was specified. 2019-01-15 00:27:05 +01:00
ffmpeg_qsv.c fftools/qsv: add extra_hw_frames support 2018-08-07 11:26:40 +08:00
ffmpeg_videotoolbox.c lavc: drop VDA 2017-10-23 11:56:15 +02:00
ffplay.c ffplay: add support for setting the number of filter threads 2019-02-07 23:38:53 +01:00
ffprobe.c fftools/ffprobe: Indent the code. 2018-11-27 10:45:25 +08:00
Makefile Merge commit '7e5bde93a1' 2019-03-10 19:31:13 -03:00