Commit e7f9c674 authored by Juanjo's avatar Juanjo

- HQ option for ffserver. Thanks to D Richard Felker III.

Originally committed as revision 478 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 816d7ff5
......@@ -1546,6 +1546,10 @@ int parse_ffconfig(const char *filename)
if (stream) {
video_enc.gop_size = 1;
}
} else if (!strcasecmp(cmd, "VideoHighQuality")) {
if (stream) {
video_enc.flags |= CODEC_FLAG_HQ;
}
} else if (!strcasecmp(cmd, "NoVideo")) {
video_id = CODEC_ID_NONE;
} else if (!strcasecmp(cmd, "NoAudio")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment