gst1: Replace DEBUG_BIN_TO_DOT_FILE with debug_bin_to_dot_file

This commit is contained in:
Stein Magnus Jodal 2015-09-22 22:24:57 +02:00
parent ee51983cfd
commit 3765e90bc7

View File

@ -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'):