Andreas Rheinhardt
d6f4b91ba5
avfilter/framesync: Remove redundant setting of AVClass
...
Every filter exposing the framesync options via its child_next
callback already calls framesync_preinit() in its preinit callback.
So the filter is already preinited whenever its child_next is called.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Anton Khirnov
344149cf01
framesync: switch to child_class_iterate()
5 years ago
Nicolas George
2a52f19a91
lavfi/framesync: use av_gcd_q().
5 years ago
Gyan Doshi
3be4490014
avfilter/framesync: fix shortest with eof_action=pass
...
Shifted check of shortest to after repeatlast,
to ensure shortest=1 is always honoured.
6 years ago
Mark Thompson
d4d29052c3
lavfi/framesync: Add namespace prefix to framesync_get_class
7 years ago
Nicolas George
29b5f3115d
lavfi/framesync: remove an invalid free.
7 years ago
Nicolas George
549ef6ef9a
lavfi/framesync: remove dead code.
...
Fix CID 1416960.
7 years ago
Nicolas George
9bad5e5319
lavfi/framesync: reword repeatlast option help.
7 years ago
Nicolas George
5f5dcf44e3
lavfi: rename framesync2 to framesync.
7 years ago
Michael Niedermayer
d8bc198d09
avfilter/vf_overlay: Restore shorthand option order
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Nicolas George
05a23b2565
lavfi/framesync2: add common options.
...
Also add functions and macros to help filters chaining these
options to their own.
7 years ago
Nicolas George
0ae8df4109
lavfi/framesync2: add dualinput helper functions.
7 years ago
Nicolas George
4e0e9ce2dc
lavfi/framesync2: implement "activate" design.
...
With this helper API, filters that used the first framesync
helper API can easily be changed to use the new and more
extensible design for filters with a single activate() callback.
8 years ago
Nicolas George
873306f265
lavfi/framesync2: rename all conflicting symbols.
8 years ago
Nicolas George
cffea1b483
lavfi: copy framesync into framesync2.
...
framesync2 will be the base for the version using activate.
Most of the logic will be the same, but the code cannot be shared.
Copying the file initially without change will make the diff
easier to read.
8 years ago
Nicolas George
3b64e3ea45
lavf/framesync: detect EOF immediately.
...
Fix an infinite loop in forward_status_change().
8 years ago
Nicolas George
44f660e7e7
lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.
...
It has no longer any effect.
9 years ago
Paul B Mahol
0190c372ef
avfilter/framesync: allocate FFFrameSyncIn internally
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Nicolas George
53319d5c93
lavfi: add an API to synchronize multiple video inputs.
...
Compared to dualinput, this API can handle more than two
inputs and can generate frames synchronized to any or all
input streams.
11 years ago