mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-11 01:35:26 +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
1ce02d4ce5
commit
8bb64bb825
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ impl DebugCategory {
|
||||||
module.to_glib_none().0,
|
module.to_glib_none().0,
|
||||||
line as i32,
|
line as i32,
|
||||||
obj_ptr,
|
obj_ptr,
|
||||||
fmt::format(args).to_glib_none().0,
|
fmt::format(args).replace("%", "%%").to_glib_none().0,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue