[FFmpeg-devel] [PATCH 4/7] lavfi/tile: extend shorthand parameters.

Clément Bœsch ubitux at gmail.com
Thu Nov 8 23:44:09 CET 2012


This makes the syntax similar to mp=tile.
---
 libavfilter/vf_tile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_tile.c b/libavfilter/vf_tile.c
index 8cb68ea..967c03f 100644
--- a/libavfilter/vf_tile.c
+++ b/libavfilter/vf_tile.c
@@ -61,7 +61,7 @@ AVFILTER_DEFINE_CLASS(tile);
 static av_cold int init(AVFilterContext *ctx, const char *args)
 {
     TileContext *tile = ctx->priv;
-    static const char *shorthand[] = { "size", NULL };
+    static const char *shorthand[] = { "size", "nb_frames", "margin", "padding", NULL };
     int ret;
 
     tile->class = &tile_class;
-- 
1.8.0



More information about the ffmpeg-devel mailing list