Skip to content

Commit

Permalink
fix: cmake errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lee.fordyce committed Feb 14, 2024
1 parent 6b2163a commit a500b86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packager/live_packager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ std::string getSegmentTemplate(const LiveConfig& config) {
case LiveConfig::OutputFormat::TTMLMP4:
case LiveConfig::OutputFormat::FMP4:
return "$Number$.m4s";
default:
LOG(ERROR) << "Unrecognized output format: " << &config.format;
return "unknown";
}
}

Expand All @@ -63,6 +66,9 @@ std::string getStreamSelector(const LiveConfig& config) {
return "audio";
case LiveConfig::TrackType::TEXT:
return "text";
default:
LOG(ERROR) << "Unrecognized track type: " << &config.track_type;
return "unknown";
}
}

Expand Down

0 comments on commit a500b86

Please sign in to comment.