From 59ca466081204df18aab0f3ec271c6f0843b3d29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Tue, 22 Mar 2022 18:46:28 +0100 Subject: [PATCH] ts: log max throttling when creating Context --- generic/threadshare/src/runtime/executor/context.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/generic/threadshare/src/runtime/executor/context.rs b/generic/threadshare/src/runtime/executor/context.rs index 17a8c840..6ed22d45 100644 --- a/generic/threadshare/src/runtime/executor/context.rs +++ b/generic/threadshare/src/runtime/executor/context.rs @@ -163,7 +163,12 @@ impl Context { let context = Context(Scheduler::start(context_name, wait)); contexts.insert(context_name.into(), context.downgrade()); - gst::debug!(RUNTIME_CAT, "New Context '{}'", context.name()); + gst::debug!( + RUNTIME_CAT, + "New Context '{}' throttling {:?}", + context.name(), + wait, + ); Ok(context) }