summaryrefslogtreecommitdiff
path: root/ffmpeg.h
diff options
context:
space:
mode:
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 49924a36a9..ebe5bf0406 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 {