[FFmpeg-cvslog] examples/muxing: reduce duration, remove wrong and misleading comment

Stefano Sabatini git at videolan.org
Tue Jan 21 11:56:34 CET 2014


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Jan 19 18:32:11 2014 +0100| [e34ad128a36355da22e2c7b01cbac8000e8146d6] | committer: Stefano Sabatini

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e34ad128a36355da22e2c7b01cbac8000e8146d6
---

 doc/examples/muxing.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index 38b6601..7ac4a02 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 */



More information about the ffmpeg-cvslog mailing list