diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-11-13 15:33:39 +0100 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-11-13 15:33:39 +0100 |
commit | 198e8b8e774659eacaa7058c7f5704029af5bbbf (patch) | |
tree | e8558c0eb7eaeefc367a80dcea27ba3f7a381bef /ffmpeg.h | |
parent | 6b449a12906c494f3530d4fa282ec6c4c6aa687e (diff) | |
parent | 50722b4f0cbc5940e9e6e21d113888436cc89ff5 (diff) | |
download | ffmpeg-198e8b8e774659eacaa7058c7f5704029af5bbbf.tar.gz |
Merge commit '50722b4f0cbc5940e9e6e21d113888436cc89ff5'
* commit '50722b4f0cbc5940e9e6e21d113888436cc89ff5':
avconv: decouple configuring filtergraphs and setting output parameters
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r-- | ffmpeg.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -254,6 +254,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 { |