summaryrefslogtreecommitdiffstats
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-11-13 15:33:39 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2016-11-13 15:33:39 +0100
commit198e8b8e774659eacaa7058c7f5704029af5bbbf (patch)
treee8558c0eb7eaeefc367a80dcea27ba3f7a381bef /ffmpeg.h
parent6b449a12906c494f3530d4fa282ec6c4c6aa687e (diff)
parent50722b4f0cbc5940e9e6e21d113888436cc89ff5 (diff)
downloadffmpeg-streaming-198e8b8e774659eacaa7058c7f5704029af5bbbf.zip
ffmpeg-streaming-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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index 49924a3..ebe5bf0 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -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 {
OpenPOWER on IntegriCloud