From 3765e90bc744c3a43bd350738ee21afa3162fa0d Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Tue, 22 Sep 2015 22:24:57 +0200 Subject: [PATCH] gst1: Replace DEBUG_BIN_TO_DOT_FILE with debug_bin_to_dot_file --- mopidy/audio/actor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mopidy/audio/actor.py b/mopidy/audio/actor.py index 510fcbba..94fa5aea 100644 --- a/mopidy/audio/actor.py +++ b/mopidy/audio/actor.py @@ -300,8 +300,8 @@ class _Handler(object): AudioListener.send('stream_changed', uri=None) if 'GST_DEBUG_DUMP_DOT_DIR' in os.environ: - Gst.DEBUG_BIN_TO_DOT_FILE( - self._audio._playbin, Gst.DEBUG_GRAPH_SHOW_ALL, 'mopidy') + Gst.debug_bin_to_dot_file( + self._audio._playbin, Gst.DebugGraphDetails.ALL, 'mopidy') def on_buffering(self, percent, structure=None): if structure and structure.has_field('buffering-mode'):