]> git.sesse.net Git - ffmpeg/commit
dashenc: degrade gracefully if a stream's bitrate is unavailable
authorRodger Combs <rodger.combs@gmail.com>
Tue, 18 Nov 2014 19:02:58 +0000 (13:02 -0600)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 18 Nov 2014 20:18:53 +0000 (21:18 +0100)
commit5f8fcdd4481b3e740d76b09e10a80e3271ef47b5
treec6ff107858b29be90f30b7aec3228e9ca9a63a3b
parent568f1ecccf5cd2a7e235198e6b6e38e2934e03e8
dashenc: degrade gracefully if a stream's bitrate is unavailable

If a stream's bitrate is not set, this attempts to use its rc_max_rate;
if neither is set, it avoids writing a bandwidth attribute at all.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/dashenc.c