diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-04-30 12:17:16 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-05-08 10:38:59 +0200 |
commit | c7c73a3250542dde9bb882867f1b2d9af61cc5a0 (patch) | |
tree | 628e23515214716bafd4688e6be52031f0ac47ba /libavcodec/rangecoder.c | |
parent | 48d8d3549a1b97d6f811b7d0bed8b0fdb6a0dc6d (diff) | |
download | ffmpeg-c7c73a3250542dde9bb882867f1b2d9af61cc5a0.tar.gz |
fftools/ffmpeg_filter: take fallback parameters from decoder, not demuxer
When an input stream terminates and no frames were successfully decoded,
filtering code will currently configure the filtergraph using demuxer
stream parameters. Use decoder parameters instead, which should be more
reliable. Also, initialize them immediately when an input stream is
bound to a filtergraph input, so that these parameters are always
available (if at all) and filtering code does not need to reach into the
decoder at some arbitrary later point.
Diffstat (limited to 'libavcodec/rangecoder.c')
0 files changed, 0 insertions, 0 deletions