diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-12-26 16:47:18 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2013-01-26 11:15:38 +0100 |
commit | b6b2f3433c217b01c75729df0e316d525cd8d804 (patch) | |
tree | 1ff9a4d58c7118cefe7157c70b44b43e7c992914 /libavfilter/formats.h | |
parent | 7bb98b753b4502c08f5a9fd6785c91612beb36e9 (diff) |
lavfi: implement ff_query_formats_all().
Diffstat (limited to 'libavfilter/formats.h')
-rw-r--r-- | libavfilter/formats.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavfilter/formats.h b/libavfilter/formats.h index 4ef63df27a..a476e70c2e 100644 --- a/libavfilter/formats.h +++ b/libavfilter/formats.h @@ -172,6 +172,14 @@ void ff_channel_layouts_changeref(AVFilterChannelLayouts **oldref, int ff_default_query_formats(AVFilterContext *ctx); +/** + * Set the formats list to all existing formats. + * This function behaves like ff_default_query_formats(), except it also + * accepts channel layouts with unknown disposition. It should only be used + * with audio filters. + */ +int ff_query_formats_all(AVFilterContext *ctx); + /** * Create a list of supported formats. This is intended for use in |