Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmin committed Feb 16, 2024
1 parent 24b0ebc commit 33d775f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packager/mpd/base/adaptation_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,7 @@ std::optional<xml::XmlNode> AdaptationSet::GetXml() {
if (subsegment_start_with_sap_ == 1) {
if (!adaptation_set.SetIntegerAttribute("subsegmentStartsWithSAP", 1))
return std::nullopt;
}
else if (start_with_sap_ == 1) {
} else if (start_with_sap_ == 1) {
if (!adaptation_set.SetIntegerAttribute("startWithSAP", 1))
return std::nullopt;
}
Expand Down
3 changes: 1 addition & 2 deletions packager/mpd/base/period.cc
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,7 @@ bool Period::SetNewAdaptationSetAttributes(
GetBaseCodec(media_info) == "ac-4") {
new_adaptation_set->ForceStartwithSAP(1);
}
}
else if (mpd_options_.dash_profile == DashProfile::kOnDemand) {
} else if (mpd_options_.dash_profile == DashProfile::kOnDemand) {
if (GetBaseCodec(media_info) == "mp4a" ||
GetBaseCodec(media_info) == "ac-3" ||
GetBaseCodec(media_info) == "ec-3" ||
Expand Down

0 comments on commit 33d775f

Please sign in to comment.