aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-02-22 13:24:38 +0100
committerAnton Khirnov <anton@khirnov.net>2024-03-13 08:01:15 +0100
commitf5d03b972c49323a0cb03195d596aaae0ab397b1 (patch)
tree473ff6f82f9f591fe31c66833b162a8150aa0082 /libavdevice
parentcabeac91238773ec7395048eedafef661255a8de (diff)
downloadffmpeg-f5d03b972c49323a0cb03195d596aaae0ab397b1.tar.gz
fftools/ffmpeg: simplify propagating fallback parameters from decoders to filters
Current callstack looks like this: * ifilter_bind_ist() (filter) calls ist_filter_add() (demuxer); * ist_filter_add() opens the decoder, and then calls dec_add_filter() (decoder); * dec_add_filter() calls ifilter_parameters_from_dec() (i.e. back into the filtering code) in order to give post-avcodec_open2() parameters to the filter. This is unnecessarily complicated. Pass the parameters as follows instead: * dec_init() (which opens the decoder) returns post-avcodec_open2() parameters to its caller (i.e. the demuxer) in a parameter-only AVFrame * the demuxer passes these parameters to the filter in InputFilterOptions, together with other filter options
Diffstat (limited to 'libavdevice')
0 files changed, 0 insertions, 0 deletions