summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHarshit Mittal <h.mittal83@gmail.com>2015-08-05 12:41:49 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-28 12:53:35 +0200
commit53bf32fa4270eb60f3bf25b5bd3d1f97381d4661 (patch)
tree18315669768734a465145ed34bf4c5e6769392d2 /doc
parent24e0b14c4f8b8544efe07ccf951f778d856b131d (diff)
doc/examples/filtering_video: better demo ffmpeg filters; demos chaining the filters
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/filtering_video.c5
1 files changed, 4 insertions, 1 deletions
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 <libavfilter/buffersrc.h>
#include <libavutil/opt.h>
-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;