Commit 1b546bb5 authored by Seungha Yang's avatar Seungha Yang 🐑

fallbacksrc: Ignore buffering message of restart was scheduled

In case that there is pending restart, fallbacksrc should not
try to add pad probe.
parent 46af9721
Pipeline #216882 passed with stages
in 13 minutes and 47 seconds
......@@ -1802,6 +1802,11 @@ impl FallbackSrc {
Some(state) => state,
};
if state.source_pending_restart {
gst_debug!(CAT, obj: element, "Has pending restart");
return;
}
gst_debug!(CAT, obj: element, "Got buffering {}%", m.get_percent());
state.buffering_percent = m.get_percent() as u8;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment