Skip to content

Commit

Permalink
fix: misleading log output when HLS target duration updates (fixes #969
Browse files Browse the repository at this point in the history
…) (#971)

Minor fix. The parameters were swapped.
  • Loading branch information
MarcusWichelmann authored Feb 15, 2024
1 parent 270888a commit f7b3986
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packager/hls/base/media_playlist.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f7b3986

Please sign in to comment.