Philipp Hörist pushed to branch master at gajim / gajim
Commits: 68520fe2 by lovetox at 2020-03-17T20:20:28+01:00 Jingle: Only log to file if DEBUG is enabled
- - - - -
1 changed file:
- gajim/common/jingle_rtp.py
Changes:
===================================== gajim/common/jingle_rtp.py ===================================== @@ -448,7 +448,9 @@ class JingleVideo(JingleRTPContent):
# The following is needed for farstream to process ICE requests: self.pipeline.set_state(Gst.State.PLAYING) - Gst.debug_bin_to_dot_file(self.pipeline, Gst.DebugGraphDetails.ALL, 'video-graph') + + if log.getEffectiveLevel() == logging.DEBUG: + Gst.debug_bin_to_dot_file(self.pipeline, Gst.DebugGraphDetails.ALL, 'video-graph')
def get_fallback_src(self): # TODO: Use avatar?
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/68520fe2728fee26207ee2cf62e02f56b...