From a500b86117cdab6fedd134ed569d04aa2f5f085d Mon Sep 17 00:00:00 2001 From: "lee.fordyce" Date: Wed, 14 Feb 2024 14:40:41 -0700 Subject: [PATCH] fix: cmake errors --- packager/live_packager.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packager/live_packager.cc b/packager/live_packager.cc index 1a4d05de816..5f793098b2d 100644 --- a/packager/live_packager.cc +++ b/packager/live_packager.cc @@ -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"; } } @@ -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"; } }