gstreamer: Simplify and speed up log message string construction
Compare changes
+ 27
− 60
@@ -180,70 +180,37 @@ impl DebugCategory {
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
For pre-1.20 simply use %s
as format string instead of escaping the
%
inline while writing. This allows a simpler implementation and is
also faster, see https://github.com/gtk-rs/gtk-rs-core/pull/583.