Skip to content

Commit

Permalink
Fixed formatstring causing crash
Browse files Browse the repository at this point in the history
  • Loading branch information
getroot committed May 24, 2024
1 parent 22e78d3 commit 08fddd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/projects/mediarouter/mediarouter_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ void MediaRouteStream::UpdateStatistics(std::shared_ptr<MediaTrack> &media_track
{
stat_track_str.AppendFormat(", fps: %.2f/%.2f",
track->GetFrameRateByMeasured(), track->GetFrameRate());
stat_track_str.AppendFormat(", kint: %d/%d/%s",
stat_track_str.AppendFormat(", kint: %.2f/%d/%s",
track->GetKeyFrameIntervalByMeasured(),
track->GetKeyFrameInterval(),
cmn::GetKeyFrameIntervalTypeToString(track->GetKeyFrameIntervalTypeByConfig()).CStr());
Expand Down

0 comments on commit 08fddd3

Please sign in to comment.