avfilter/trim: support all channel numbers in atrim filter
authorPaul B Mahol <onemda@gmail.com>
Wed, 30 Dec 2015 08:16:54 +0000 (09:16 +0100)
committerPaul B Mahol <onemda@gmail.com>
Thu, 31 Dec 2015 08:14:17 +0000 (09:14 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/trim.c

index b2d9c6f..9141ac5 100644 (file)
@@ -381,6 +381,7 @@ AVFilter ff_af_atrim = {
     .name        = "atrim",
     .description = NULL_IF_CONFIG_SMALL("Pick one continuous section from the input, drop the rest."),
     .init        = init,
+    .query_formats = ff_query_formats_all,
     .priv_size   = sizeof(TrimContext),
     .priv_class  = &atrim_class,
     .inputs      = atrim_inputs,