mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-09 00:35:41 +00:00
gstreamer/log: Replace % with %% in the debug message
Otherwise gst_debug_log() will look for further arguments that don't exist, and will likely crash or worse.
This commit is contained in:
parent
8077b7ac82
commit
e8c5f5fb6b
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue