summaryrefslogtreecommitdiff
path: root/libavfilter/framesync.c
Commit message (Collapse)AuthorAgeFilesLines
* avfilter: use ff_inlink_make_frame_writable()Paul B Mahol2023-02-121-1/+1
|
* avfilter/framesync: add a new option to set how to sync streams based on ↵James Almer2022-08-101-0/+19
| | | | | | | | | | | | | | | | secondary input timestamps Include two values for it, a default one that sets/keeps the current behavior, where the frame event generated by the primary input will have a timestamp equal or higher than frames in secondary input, plus a new one where the secondary input frame will be that with the absolute closest timestamp to that of the frame event one. Addresses ticket #9689, where the new optional behavior produces better frame syncronization. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/framesync: Remove redundant setting of AVClassAndreas Rheinhardt2021-09-231-5/+0
| | | | | | | | | 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>
* framesync: switch to child_class_iterate()Anton Khirnov2020-06-101-0/+7
|
* lavfi/framesync: use av_gcd_q().Nicolas George2020-05-231-12/+2
|
* avfilter/framesync: fix shortest with eof_action=passGyan Doshi2019-06-061-4/+4
| | | | | Shifted check of shortest to after repeatlast, to ensure shortest=1 is always honoured.
* lavfi/framesync: Add namespace prefix to framesync_get_classMark Thompson2018-06-241-1/+1
|
* lavfi/framesync: remove an invalid free.Nicolas George2018-01-031-1/+1
|
* lavfi/framesync: remove dead code.Nicolas George2017-09-121-3/+1
| | | | Fix CID 1416960.
* lavfi/framesync: reword repeatlast option help.Nicolas George2017-09-121-1/+1
|
* lavfi: rename framesync2 to framesync.Nicolas George2017-09-121-0/+415
|
* lavfi: remove framesync.Nicolas George2017-09-121-343/+0
|
* lavf/framesync: detect EOF immediately.Nicolas George2016-12-241-1/+9
| | | | Fix an infinite loop in forward_status_change().
* lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.Nicolas George2015-09-201-1/+0
| | | | It has no longer any effect.
* avfilter/framesync: allocate FFFrameSyncIn internallyPaul B Mahol2015-08-261-1/+8
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: add an API to synchronize multiple video inputs.Nicolas George2013-09-231-0/+329
Compared to dualinput, this API can handle more than two inputs and can generate frames synchronized to any or all input streams.