diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-08-03 11:32:10 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-08-08 16:20:58 +0200 |
commit | 80e7feb48b99660754f4313bb12b216aeacebf4f (patch) | |
tree | 13ac90ee7e5a6ca536ec16a80e337815da5c6dae /libavcodec/mss4.c | |
parent | 4f2b946c194249b016f12fe57e86722ca399cd7f (diff) | |
download | ffmpeg-80e7feb48b99660754f4313bb12b216aeacebf4f.tar.gz |
fftools/ffmpeg: remove OutputStream.stream_copy
There are currently three possible modes for an output stream:
1) The stream is produced by encoding output from some filtergraph. This
is true when ost->enc_ctx != NULL, or equivalently when
ost->encoding_needed != 0.
2) The stream is produced by copying some input stream's packets. This
is true when ost->enc_ctx == NULL && ost->source_index >= 0.
3) The stream is produced by attaching some file directly. This is true
when ost->enc_ctx == NULL && ost->source_index < 0.
OutputStream.stream_copy is currently used to identify case 2), and
sometimes to confusingly (or even incorrectly) identify case 1). Remove
it, replacing its usage with checking enc_ctx/source_index values.
Diffstat (limited to 'libavcodec/mss4.c')
0 files changed, 0 insertions, 0 deletions