From f7b3986818915ab3d7d3dc31b8316fcef0384294 Mon Sep 17 00:00:00 2001 From: Marcus Wichelmann Date: Thu, 15 Feb 2024 07:46:02 +0100 Subject: [PATCH] fix: misleading log output when HLS target duration updates (fixes #969) (#971) Minor fix. The parameters were swapped. --- packager/hls/base/media_playlist.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packager/hls/base/media_playlist.cc b/packager/hls/base/media_playlist.cc index 9c1366ed4c..fcfaab4a1c 100644 --- a/packager/hls/base/media_playlist.cc +++ b/packager/hls/base/media_playlist.cc @@ -519,8 +519,8 @@ void MediaPlaylist::SetTargetDuration(int32_t target_duration) { if (target_duration_set_) { if (target_duration_ == target_duration) return; - VLOG(1) << "Updating target duration from " << target_duration << " to " - << target_duration_; + VLOG(1) << "Updating target duration from " << target_duration_ << " to " + << target_duration; } target_duration_ = target_duration; target_duration_set_ = true;