Skip to content

Commit

Permalink
Fix log when scheduled update is failing (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkozyra95 authored Apr 26, 2024
1 parent f68fe64 commit 5bcdbc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion compositor_pipeline/src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ impl Pipeline {
return Err(UpdateSceneError::AudioVideoNotMatching(output_id));
};

info!("Update scene {:#?}", scene_root);
info!(?output_id, "Update scene {:#?}", scene_root);

self.renderer
.update_scene(output_id, resolution, scene_root)
Expand All @@ -267,6 +267,7 @@ impl Pipeline {
output_id: &OutputId,
audio: AudioMixingParams,
) -> Result<(), UpdateSceneError> {
info!(?output_id, "Update audio mixer {:#?}", audio);
self.audio_mixer.update_output(output_id, audio)
}

Expand Down
2 changes: 1 addition & 1 deletion src/routes/update_output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub(super) async fn handle_output_update(
.update_output(output_id, scene, audio)
{
error!(
"Error while running scheduled output unregister for pts {}ms: {}",
"Error while running scheduled output update for pts {}ms: {}",
schedule_time.as_millis(),
ErrorStack::new(&err).into_string()
)
Expand Down

0 comments on commit 5bcdbc5

Please sign in to comment.