avformat/dashenc: addition of muxer overhead for @bandwidth param in MPD

This commit is contained in:
Vishwanath Dixit 2018-04-11 12:32:19 +05:30 committed by Karthick Jeyapal
parent af6058d03b
commit 2c51e33bc1

View File

@ -555,7 +555,7 @@ static int write_adaptation_set(AVFormatContext *s, AVIOContext *out, int as_ind
if (os->bit_rate > 0)
snprintf(bandwidth_str, sizeof(bandwidth_str), " bandwidth=\"%d\"",
os->bit_rate);
os->bit_rate + os->muxer_overhead);
if (as->media_type == AVMEDIA_TYPE_VIDEO) {
AVStream *st = s->streams[i];