forked from mirrors/gstreamer-rs
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
1ce02d4ce5
commit
8bb64bb825
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,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