Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-09-09 00:34:18 +0300
committerClément Bœsch <u@pkh.me>2015-09-09 00:35:12 +0300
commite73f46b105d54abdf634945cd8d0c0a9bceb0aaf (patch)
treef7dee797908b8640dc857c8a6729d6b8a4c827c0 /libavfilter/buffersink.c
parentb599d2164251669069cabbe9356a39c1632f27fe (diff)
avfilter/abuffersink: use AV_OPT_TYPE_BOOL for all_channel_counts option
Diffstat (limited to 'libavfilter/buffersink.c')
-rw-r--r--libavfilter/buffersink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c
index de48b3d579..e693161554 100644
--- a/libavfilter/buffersink.c
+++ b/libavfilter/buffersink.c
@@ -404,7 +404,7 @@ static const AVOption abuffersink_options[] = {
{ "sample_rates", "set the supported sample rates", OFFSET(sample_rates), AV_OPT_TYPE_BINARY, .flags = FLAGS },
{ "channel_layouts", "set the supported channel layouts", OFFSET(channel_layouts), AV_OPT_TYPE_BINARY, .flags = FLAGS },
{ "channel_counts", "set the supported channel counts", OFFSET(channel_counts), AV_OPT_TYPE_BINARY, .flags = FLAGS },
- { "all_channel_counts", "accept all channel counts", OFFSET(all_channel_counts), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, FLAGS },
+ { "all_channel_counts", "accept all channel counts", OFFSET(all_channel_counts), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, FLAGS },
{ NULL },
};
#undef FLAGS