avformat/hlsenc: use stream's maximum bit rate as fall-back advertised rate
authorJan Ekström <jan.ekstrom@aminocom.com>
Fri, 23 Mar 2018 12:41:28 +0000 (14:41 +0200)
committerJan Ekström <jeebjp@gmail.com>
Sat, 24 Mar 2018 23:07:10 +0000 (01:07 +0200)
commit5b31dd1c6b1e35d91ce068d6cd20eb4a3d3faa38
tree283a04c4185ca1b7142a71897345e9d2d7e3697f
parent87455b78cc5191d59394f27751da85d588f05d07
avformat/hlsenc: use stream's maximum bit rate as fall-back advertised rate

Enables having proper bit rate values being written into the master
playlist in case of hard-constrained VBR where the maximum bit
rate utilized is known before hand.

Does the same thing as movenc.c, for example.

Signed-off-by: Jan Ekström <jan.ekstrom@aminocom.com>
libavformat/hlsenc.c