aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanjo <pulento@users.sourceforge.net>2002-05-09 07:43:07 +0000
committerJuanjo <pulento@users.sourceforge.net>2002-05-09 07:43:07 +0000
commite7f9c674174a0cc796f5c955982d70b08e999f53 (patch)
treea7c2ffa12269bee722d7385c7cfd9b4e572a2030
parent816d7ff5a88cb20945c4aabef52b1e790aee9174 (diff)
downloadffmpeg-e7f9c674174a0cc796f5c955982d70b08e999f53.tar.gz
- HQ option for ffserver. Thanks to D Richard Felker III.
Originally committed as revision 478 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffserver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index 5d48310bea..c5397b1834 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -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")) {