diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-05-06 06:59:06 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-05-14 21:36:10 +0200 |
commit | 5775a1832c4165e6acc1d307004b38701bb463f4 (patch) | |
tree | 8de340914f00497a4acca827bf673ed26ff4ab9d /libavfilter/avfilter.h | |
parent | 394a0267abd6a292932f858949449b5cd6f8efda (diff) |
lavfi: add types and functions for channel layout/samplerate negotiation
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index fd996db94b..718f77df3d 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -618,6 +618,22 @@ struct AVFilterLink { * input link is assumed to be an unchangeable property. */ AVRational time_base; + + /***************************************************************** + * All fields below this line are not part of the public API. They + * may not be used outside of libavfilter and can be changed and + * removed at will. + * New public fields should be added right above. + ***************************************************************** + */ + /** + * Lists of channel layouts and sample rates used for automatic + * negotiation. + */ + AVFilterFormats *in_samplerates; + AVFilterFormats *out_samplerates; + struct AVFilterChannelLayouts *in_channel_layouts; + struct AVFilterChannelLayouts *out_channel_layouts; }; /** |