Browse Source

examples/muxing: reduce duration, remove wrong and misleading comment

Set duration to 10 seconds, after it was increased from 5 to 200 seconds
in 8d80f3cb87.

200 seconds will generate too much data which is annoying especially when
testing.
tags/n2.2-rc1
Stefano Sabatini 12 years ago
parent
commit
e34ad128a3
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      doc/examples/muxing.c

+ 1
- 2
doc/examples/muxing.c View File

@@ -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 */


Loading…
Cancel
Save