fix: misleading log output when HLS target duration updates (fixes #969) (#971)

Minor fix. The parameters were swapped.
This commit is contained in:
Marcus Wichelmann 2024-02-15 07:46:02 +01:00 committed by GitHub
parent 270888abb1
commit f7b3986818
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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;