[FFmpeg-devel] [PATCH] avfilter/vf_tile: increase max tile size
Paul B Mahol
onemda at gmail.com
Tue Oct 10 22:22:23 EEST 2017
Useful when producing tiles of 1xN or Nx1 size, 1024 is too small then.
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
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 87e0b940cf..d5fe4f255e 100644
--- a/libavfilter/vf_tile.c
+++ b/libavfilter/vf_tile.c
@@ -44,7 +44,7 @@ typedef struct TileContext {
uint8_t rgba_color[4];
} TileContext;
-#define REASONABLE_SIZE 1024
+#define REASONABLE_SIZE 4096
#define OFFSET(x) offsetof(TileContext, x)
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
--
2.11.0
More information about the ffmpeg-devel
mailing list