diff --git a/tutorials/src/bin/basic-tutorial-8.rs b/tutorials/src/bin/basic-tutorial-8.rs index 3be8c3253..2e309d594 100644 --- a/tutorials/src/bin/basic-tutorial-8.rs +++ b/tutorials/src/bin/basic-tutorial-8.rs @@ -225,8 +225,10 @@ fn main() { }; if let Some(_sample) = appsink.pull_sample() { + use std::io::{self, Write}; // The only thing we do in this example is print a * to indicate a received buffer print!("*"); + let _ = io::stdout().flush(); } gst::FlowReturn::Ok