summaryrefslogtreecommitdiff
path: root/doc/examples/muxing.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2014-01-19 18:32:11 +0100
committerStefano Sabatini <stefasab@gmail.com>2014-01-21 11:52:14 +0100
commite34ad128a36355da22e2c7b01cbac8000e8146d6 (patch)
tree37d583261ac77f7bec158eef2189b2f27a1b7e1d /doc/examples/muxing.c
parenta459891e624c7b7670f888498df9c137b6ad6111 (diff)
examples/muxing: reduce duration, remove wrong and misleading comment
Set duration to 10 seconds, after it was increased from 5 to 200 seconds in 8d80f3cb877b890889b1673029387229648901ed. 200 seconds will generate too much data which is annoying especially when testing.
Diffstat (limited to 'doc/examples/muxing.c')
-rw-r--r--doc/examples/muxing.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index 38b66014fe..7ac4a02313 100644
--- a/doc/examples/muxing.c
+++ b/doc/examples/muxing.c
@@ -41,8 +41,7 @@
#include <libswscale/swscale.h>
#include <libswresample/swresample.h>
-/* 5 seconds stream duration */
-#define STREAM_DURATION 200.0
+#define STREAM_DURATION 10.0
#define STREAM_FRAME_RATE 25 /* 25 images/s */
#define STREAM_NB_FRAMES ((int)(STREAM_DURATION * STREAM_FRAME_RATE))
#define STREAM_PIX_FMT AV_PIX_FMT_YUV420P /* default pix_fmt */