Files
ffmpeg/libavfilter
Andreas Rheinhardt a85d2de45f avfilter/vf_spp: Use preinit instead of init_dict
By using preinit, the AVDCT already exists directly after
allocating the filter, so that the filter's AVClass's child_next
becomes usable for setting options with the AV_OPT_SEARCH_CHILDREN
search flag. This means that it is no longer necessary to use
the init_dict callback for this filter.

Furthermore, the earlier code did not abide by the documentation
of the init_dict callback at all: Instead of only returning the
options that have not been recognized it always returned all options
on any av_opt_set() error and errored out in this case, even if it
is just an unrecognized option. This behaviour has been inherited by
avfilter_init_dict(), contradicting its documentation. This is also
fixed in this commit.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-19 04:45:34 +02:00
..
2021-04-19 14:34:10 +02:00
2020-02-14 09:59:27 +01:00
2021-08-28 18:51:04 +02:00
2021-08-21 16:11:11 +02:00
2021-01-17 12:06:01 +01:00
2021-01-17 12:06:01 +01:00
2021-07-22 14:47:57 +02:00
2021-09-19 04:07:48 +02:00
2021-09-19 04:26:00 +02:00
2021-04-11 23:18:20 +08:00
2021-09-19 04:26:07 +02:00
2020-02-04 18:28:04 +01:00
2019-09-26 08:10:31 +08:00