aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/dashenc.c
diff options
context:
space:
mode:
authorVishwanath Dixit <vdixit@akamai.com>2018-04-11 12:32:19 +0530
committerKarthick Jeyapal <kjeyapal@akamai.com>2018-04-17 14:35:16 +0530
commit2c51e33bc1e26aa8071434dd619981e1c725263f (patch)
tree3629a848726a911ba603491413631647d3ea9b2a /libavformat/dashenc.c
parentaf6058d03b6f349d4d6db803e48e8d805c939c44 (diff)
downloadffmpeg-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.c2
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];