mirror of https://github.com/FFmpeg/FFmpeg.git
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.pull/389/head
parent
f5cfb2c5df
commit
48d8d3549a
1 changed files with 0 additions and 10 deletions
Loading…
Reference in new issue