Skip to content

Commit 3a10886

Browse files
committed
cf/noise,vcap/testcard2: decrease noisiness
The original noisiness 30 seem to be too much to be default - with default compression JPEG or H.264 it produces high-bitrate stream. The new value 200 may better approximate real-life complexity video.
1 parent ad3e25f commit 3a10886

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/capture_filter/noise.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct module;
5858
static void done(void *state);
5959

6060
enum {
61-
DEFAULT_MAGNITUDE = 30,
61+
DEFAULT_MAGNITUDE = 200,
6262
};
6363

6464
struct state_noise {

src/video_capture/testcard2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ enum {
9494
BANNER_MARGIN_BOTTOM = 75,
9595
BUFFER_SEC = 1,
9696
FONT_HEIGHT = 108,
97-
NOISE_DEFAULT = 30,
97+
NOISE_DEFAULT = 200,
9898
};
9999

100100
#define DEFAULT_FORMAT \

0 commit comments

Comments
 (0)