lavfi: split frame_count between input and output.
authorNicolas George <george@nsup.org>
Tue, 30 Aug 2016 13:28:41 +0000 (15:28 +0200)
committerNicolas George <george@nsup.org>
Sun, 13 Nov 2016 09:41:16 +0000 (10:41 +0100)
commit183ce55b0de0a597b838d08bbac67f54c27ed42f
treeffd40aaf4f522d18b6b87b35e1b49f276cff913d
parent22aa649c13b452f11353958a51f073f5fbc3bcaa
lavfi: split frame_count between input and output.

AVFilterLink.frame_count is supposed to count the number of frames
that were passed on the link, but with min_samples, that number is
not always the same for the source and destination filters.
With the addition of a FIFO on the link, the difference will become
more significant.

Split the variable in two: frame_count_in counts the number of
frames that entered the link, frame_count_out counts the number
of frames that were sent to the destination filter.
35 files changed:
libavfilter/af_ashowinfo.c
libavfilter/af_volume.c
libavfilter/asrc_sine.c
libavfilter/avf_showfreqs.c
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/f_loop.c
libavfilter/f_metadata.c
libavfilter/f_select.c
libavfilter/f_streamselect.c
libavfilter/vf_bbox.c
libavfilter/vf_blackdetect.c
libavfilter/vf_blend.c
libavfilter/vf_crop.c
libavfilter/vf_decimate.c
libavfilter/vf_detelecine.c
libavfilter/vf_drawtext.c
libavfilter/vf_eq.c
libavfilter/vf_fade.c
libavfilter/vf_fieldhint.c
libavfilter/vf_fieldmatch.c
libavfilter/vf_framestep.c
libavfilter/vf_geq.c
libavfilter/vf_hue.c
libavfilter/vf_overlay.c
libavfilter/vf_paletteuse.c
libavfilter/vf_perspective.c
libavfilter/vf_rotate.c
libavfilter/vf_showinfo.c
libavfilter/vf_swaprect.c
libavfilter/vf_telecine.c
libavfilter/vf_tinterlace.c
libavfilter/vf_vignette.c
libavfilter/vf_zoompan.c
libavfilter/vsrc_mptestsrc.c