diff --git a/src/main.cpp b/src/main.cpp index a78935f51..936e1297e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2242,7 +2242,7 @@ bool Session::InitializePeriod() if (license_data_.empty()) { Session::STREAM stream(*adaptiveTree_, adaptiveTree_->current_period_->psshSets_[ses].adaptation_set_->type_); - stream.stream_.prepare_stream(adaptiveTree_->current_period_->psshSets_[ses].adaptation_set_, 0, 0, 0, 0, 0, 0, 0, std::map()); + stream.stream_.prepare_stream(adaptiveTree_->current_period_->psshSets_[ses].adaptation_set_, 0, 0, 0, 0, 0, 0, 0, media_headers_); stream.enabled = true; stream.stream_.start_stream(0, width_, height_);