Skip to content

Commit

Permalink
[HLS] Fix double slash when using effective_url
Browse files Browse the repository at this point in the history
  • Loading branch information
peak3d committed Apr 1, 2020
1 parent d2dc9cb commit 0062b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/HLSTree.cpp
Expand Up @@ -229,7 +229,7 @@ bool HLSTree::processManifest(std::stringstream& stream, const std::string &url)
current_representation_->codecs_ = getVideoCodec("");
current_representation_->containerType_ = CONTAINERTYPE_NOTYPE;
if (!effective_url_.empty())
current_representation_->source_url_ = effective_url_ + "/" + effective_filename_;
current_representation_->source_url_ = effective_url_ + effective_filename_;
else
current_representation_->source_url_ = url;
current_adaptationset_->representations_.push_back(current_representation_);
Expand Down

0 comments on commit 0062b9e

Please sign in to comment.