mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 19:58:59 +00:00
lavfi/tile: extend shorthand parameters.
This makes the syntax similar to mp=tile.
This commit is contained in:
parent
4a90e7124d
commit
7582012058
@ -64,7 +64,7 @@ AVFILTER_DEFINE_CLASS(tile);
|
|||||||
static av_cold int init(AVFilterContext *ctx, const char *args)
|
static av_cold int init(AVFilterContext *ctx, const char *args)
|
||||||
{
|
{
|
||||||
TileContext *tile = ctx->priv;
|
TileContext *tile = ctx->priv;
|
||||||
static const char *shorthand[] = { "layout", NULL };
|
static const char *shorthand[] = { "layout", "nb_frames", "margin", "padding", NULL };
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
tile->class = &tile_class;
|
tile->class = &tile_class;
|
||||||
|
Loading…
Reference in New Issue
Block a user