- HQ option for ffserver. Thanks to D Richard Felker III.
authorJuanjo <pulento@users.sourceforge.net>
Thu, 9 May 2002 07:43:07 +0000 (07:43 +0000)
committerJuanjo <pulento@users.sourceforge.net>
Thu, 9 May 2002 07:43:07 +0000 (07:43 +0000)
Originally committed as revision 478 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffserver.c

index 5d48310..c5397b1 100644 (file)
@@ -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")) {