diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-23 14:09:08 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-05-30 17:08:56 +0200 |
commit | f9f1dab39f89db1c822aec9888c1dd5a14cf762f (patch) | |
tree | f6208567dca209c0eba9004953fff03c82fbd171 /avconv.h | |
parent | 5ebe14e8d998a5518cbe22bd877fb8a851a2ac98 (diff) |
avconv: decouple configuring filtergraphs and setting output parameters
The reasoning is the same as in 563aa6b80bf87712910404d6fb5495a75e40ae86
Diffstat (limited to 'avconv.h')
-rw-r--r-- | avconv.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -219,6 +219,18 @@ typedef struct OutputFilter { /* temporary storage until stream maps are processed */ AVFilterInOut *out_tmp; enum AVMediaType type; + + /* desired output stream properties */ + int width, height; + AVRational frame_rate; + int format; + int sample_rate; + uint64_t channel_layout; + + // those are only set if no format is specified and the encoder gives us multiple options + int *formats; + uint64_t *channel_layouts; + int *sample_rates; } OutputFilter; typedef struct FilterGraph { |