diff options
author | Mina Nagy Zaki <mnzaki@gmail.com> | 2011-06-28 09:56:19 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-07-16 21:22:49 +0400 |
commit | b57df29f95d1107a66315a6744c1c3e73293b2ee (patch) | |
tree | e3ec19ee11571deaef1a69c82deb31abf0ea0117 /libavfilter/formats.c | |
parent | 7bda0c9a82eb3c9a58e0c9f170ac47fe7289f6f7 (diff) |
lavfi: add audio channel packing negotiation fields
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Diffstat (limited to 'libavfilter/formats.c')
-rw-r--r-- | libavfilter/formats.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavfilter/formats.c b/libavfilter/formats.c index b6e30e7ab4..214718b779 100644 --- a/libavfilter/formats.c +++ b/libavfilter/formats.c @@ -173,6 +173,17 @@ AVFilterFormats *avfilter_all_channel_layouts(void) return avfilter_make_format64_list(chlayouts); } +AVFilterFormats *avfilter_all_packing_formats(void) +{ + static int packing[] = { + AVFILTER_PACKED, + AVFILTER_PLANAR, + -1, + }; + + return avfilter_make_format_list(packing); +} + void avfilter_formats_ref(AVFilterFormats *f, AVFilterFormats **ref) { *ref = f; |