]> git.sesse.net Git - ffmpeg/commit
movenc: use similar logic to DASH when writing bit rate to ISML
authorJan Ekström <jeebjp@gmail.com>
Tue, 27 Sep 2016 23:14:23 +0000 (02:14 +0300)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 28 Sep 2016 21:45:11 +0000 (23:45 +0200)
commit6c10f8fe7658c699fc41688c175aa9d79f4b1daf
treeca4856f277d8827149e7ee3573781f601e177ace
parente4bfc9ecf73d593853ef4e993a5c753f5596aee1
movenc: use similar logic to DASH when writing bit rate to ISML

This way, in case of bit rate not being set, max_bitrate will be
used instead. This enables, for example, re-using max_bitrate
information from the input or doing transcoding with a rate
control mode that is not bit rate based.

Signed-off-by: Jan Ekström <jeebjp@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/movenc.c