aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorD Richard Felker III <dalias@aerifal.cx>2002-10-21 16:08:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-10-21 16:08:39 +0000
commit6b10e6e48c970476db90f7efc80a1f79629ff452 (patch)
tree21f5f35fa7b459168334e3e0feacfdf1a3331902
parent17a241dd0b24f60f8b65cbb7cb5994a9af562b17 (diff)
downloadffmpeg-6b10e6e48c970476db90f7efc80a1f79629ff452.tar.gz
new ffserver options patch by (D Richard Felker III <dalias at aerifal dot cx>)
Originally committed as revision 1057 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffserver.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index 0d2d423670..789f5082e0 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3759,6 +3759,26 @@ int parse_ffconfig(const char *filename)
errors++;
}
}
+ } else if (!strcasecmp(cmd, "LumaElim")) {
+ get_arg(arg, sizeof(arg), &p);
+ if (stream) {
+ video_enc.luma_elim_threshold = atoi(arg);
+ }
+ } else if (!strcasecmp(cmd, "ChromaElim")) {
+ get_arg(arg, sizeof(arg), &p);
+ if (stream) {
+ video_enc.chroma_elim_threshold = atoi(arg);
+ }
+ } else if (!strcasecmp(cmd, "LumiMask")) {
+ get_arg(arg, sizeof(arg), &p);
+ if (stream) {
+ video_enc.lumi_masking = atof(arg);
+ }
+ } else if (!strcasecmp(cmd, "DarkMask")) {
+ get_arg(arg, sizeof(arg), &p);
+ if (stream) {
+ video_enc.dark_masking = atof(arg);
+ }
} else if (!strcasecmp(cmd, "NoVideo")) {
video_id = CODEC_ID_NONE;
} else if (!strcasecmp(cmd, "NoAudio")) {