aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg_filter.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-04-30 11:38:36 +0200
committerAnton Khirnov <anton@khirnov.net>2023-05-08 10:38:59 +0200
commit48d8d3549a1b97d6f811b7d0bed8b0fdb6a0dc6d (patch)
tree8aadf419da75f761027efa65dffed149b97b17ec /fftools/ffmpeg_filter.c
parentf5cfb2c5dfbc949a7ed2227f868f55834d20c28b (diff)
downloadffmpeg-48d8d3549a1b97d6f811b7d0bed8b0fdb6a0dc6d.tar.gz
fftools/ffmpeg_enc: stop configuring filter inputs from encoder flush
When no frames are ever seen by an encoder, encoder flush will do a last-ditch attempt to configure its source filtergraph in order to at least get the stream parameters. This involves extracting demuxer parameters from filtergraph source inputs, which is * a bad layering violation * probably unreachable, because decoders are flushed before encoders, which should call ifilter_send_eof(), which will also set these parameters; however due to complex control flow it is hard to be entirely sure this code can never be triggered Even if this code can actually be reached, it is probably better to return an error as the comment above it says.
Diffstat (limited to 'fftools/ffmpeg_filter.c')
0 files changed, 0 insertions, 0 deletions