diff options
author | James Almer <jamrial@gmail.com> | 2017-10-21 17:48:01 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-10-21 18:07:54 -0300 |
commit | d3a3ee9c7a736c664789494ce6c09c330f7b1499 (patch) | |
tree | 3c564e8d4b40b6b4a93747055ffcd8da3fd68961 | |
parent | efb79cabb2c801c9e76a0af6c72121f547ab7f59 (diff) | |
download | ffmpeg-d3a3ee9c7a736c664789494ce6c09c330f7b1499.tar.gz |
ffserver: remove usage of deprecated rc_eq option
The private codec option will be used instead when available.
-rw-r--r-- | fftools/ffserver_config.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fftools/ffserver_config.c b/fftools/ffserver_config.c index 54135be989..71b50106be 100644 --- a/fftools/ffserver_config.c +++ b/fftools/ffserver_config.c @@ -291,11 +291,9 @@ static void add_codec(FFServerStream *stream, AVCodecContext *av, } if (!av_dict_get(recommended, "rc_eq", NULL, 0)) { - av->rc_eq = av_strdup("tex^qComp"); av_dict_set(&recommended, "rc_eq", "tex^qComp", 0); WARNING("Setting default value for video rate control equation = " - "%s. Use NoDefaults to disable it.\n", - av->rc_eq); + "tex^qComp. Use NoDefaults to disable it.\n"); } if (!av_dict_get(recommended, "maxrate", NULL, 0)) { av->rc_max_rate = av->bit_rate * 2; |