summaryrefslogtreecommitdiff
path: root/presets
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-08-03 11:32:10 +0200
committerAnton Khirnov <anton@khirnov.net>2022-08-08 16:20:58 +0200
commit80e7feb48b99660754f4313bb12b216aeacebf4f (patch)
tree13ac90ee7e5a6ca536ec16a80e337815da5c6dae /presets
parent4f2b946c194249b016f12fe57e86722ca399cd7f (diff)
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 'presets')
0 files changed, 0 insertions, 0 deletions