From 53bf32fa4270eb60f3bf25b5bd3d1f97381d4661 Mon Sep 17 00:00:00 2001 From: Harshit Mittal Date: Wed, 5 Aug 2015 12:41:49 -0700 Subject: [PATCH] doc/examples/filtering_video: better demo ffmpeg filters; demos chaining the filters Signed-off-by: Michael Niedermayer --- doc/examples/filtering_video.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c index c02040ae35..5685380ff1 100644 --- a/doc/examples/filtering_video.c +++ b/doc/examples/filtering_video.c @@ -38,7 +38,10 @@ #include #include -const char *filter_descr = "scale=78:24"; +const char *filter_descr = "scale=78:24,transpose=cclock"; +/* other way: + scale=78:24 [scl]; [scl] transpose=cclock // assumes "[in]" and "[out]" to be input output pads respectively + */ static AVFormatContext *fmt_ctx; static AVCodecContext *dec_ctx;