diff options
author | Josh Matthews <josh@joshmatthews.net> | 2020-08-06 18:28:24 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2020-08-07 10:28:54 -0400 |
commit | 47e6430d307c647b7c8232c20bc2edaf72ea2ef7 (patch) | |
tree | f72b11c82b6fe834b2418c52335e2e69cb13982e /components | |
parent | 261cf4f64151e7ec0a8aa80b9d5277a40db3fc68 (diff) | |
download | servo-47e6430d307c647b7c8232c20bc2edaf72ea2ef7.tar.gz servo-47e6430d307c647b7c8232c20bc2edaf72ea2ef7.zip |
Pipe GST_DEBUG output to its own log file on UWP.
Diffstat (limited to 'components')
-rw-r--r-- | components/servo/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs index 2bcc5694074..09e6a3ef078 100644 --- a/components/servo/lib.rs +++ b/components/servo/lib.rs @@ -144,9 +144,8 @@ mod media_platform { #[cfg(feature = "uwp")] fn set_gstreamer_log_handler() { - use gstreamer::{debug_add_log_function, debug_remove_default_log_function, DebugLevel}; + use gstreamer::{debug_add_log_function, DebugLevel}; - debug_remove_default_log_function(); debug_add_log_function(|cat, level, file, function, line, _, message| { let message = format!( "{:?} {:?} {:?}:{:?}:{:?} {:?}", |