diff --git a/gstreamer/src/log.rs b/gstreamer/src/log.rs index a53adafd2..ee2a2f7e8 100644 --- a/gstreamer/src/log.rs +++ b/gstreamer/src/log.rs @@ -150,7 +150,7 @@ impl DebugCategory { module.to_glib_none().0, line as i32, obj_ptr, - fmt::format(args).to_glib_none().0, + fmt::format(args).replace("%", "%%").to_glib_none().0, ); } }