mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
fftools/ffmpeg_filter: move most of -apad logic to the muxer
The decision whether -apad actually does anything is made based on muxer properties, and so more properly belongs there. Filtering code only receives the result.
This commit is contained in:
parent
a2892dbe06
commit
a4c940c86a
5 changed files with 36 additions and 22 deletions
|
|
@ -320,6 +320,8 @@ typedef struct OutputFilter {
|
|||
* this stores the output linklabel, if any */
|
||||
uint8_t *linklabel;
|
||||
|
||||
char *apad;
|
||||
|
||||
enum AVMediaType type;
|
||||
|
||||
atomic_uint_least64_t nb_frames_dup;
|
||||
|
|
@ -581,7 +583,6 @@ typedef struct OutputStream {
|
|||
OutputFilter *filter;
|
||||
|
||||
AVDictionary *encoder_opts;
|
||||
char *apad;
|
||||
|
||||
char *attachment_filename;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue