diff options
author | Vishwanath Dixit <vdixit@akamai.com> | 2018-04-11 12:32:19 +0530 |
---|---|---|
committer | Karthick Jeyapal <kjeyapal@akamai.com> | 2018-04-17 14:35:16 +0530 |
commit | 2c51e33bc1e26aa8071434dd619981e1c725263f (patch) | |
tree | 3629a848726a911ba603491413631647d3ea9b2a /libavformat/dashenc.c | |
parent | af6058d03b6f349d4d6db803e48e8d805c939c44 (diff) | |
download | ffmpeg-2c51e33bc1e26aa8071434dd619981e1c725263f.tar.gz |
avformat/dashenc: addition of muxer overhead for @bandwidth param in MPD
Diffstat (limited to 'libavformat/dashenc.c')
-rw-r--r-- | libavformat/dashenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 6d06486de7..bf8698f292 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -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]; |