Skip to content

Commit

Permalink
remove tolower from split and trim skip empty helper function which w…
Browse files Browse the repository at this point in the history
…as causing stream descriptor params to be lowercased in output
  • Loading branch information
cosmin committed Dec 26, 2023
1 parent 3e71302 commit 4e67ded
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packager/utils/string_trim_split.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
namespace shaka {
std::vector<std::string> SplitAndTrimSkipEmpty(const std::string& str,
char delimiter) {
auto tokens =
absl::StrSplit(absl::AsciiStrToLower(str), delimiter, absl::SkipEmpty());
auto tokens = absl::StrSplit(str, delimiter, absl::SkipEmpty());
std::vector<std::string> results;
for (const absl::string_view& token : tokens) {
std::string trimmed = std::string(token);
Expand Down

0 comments on commit 4e67ded

Please sign in to comment.