From b023dd17a24b903de6871f39d98efbf398f69020 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 18 Oct 2007 22:05:27 +0200 Subject: [PATCH 1/2] Make sure self._master is always initialized --- shell/hardware/hardwaremanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/hardware/hardwaremanager.py b/shell/hardware/hardwaremanager.py index 79b932f2..4eeac033 100644 --- a/shell/hardware/hardwaremanager.py +++ b/shell/hardware/hardwaremanager.py @@ -45,7 +45,7 @@ class HardwareManager(object): self._mixer = gst.element_factory_make('alsamixer') self._mixer.set_state(gst.STATE_PAUSED) - + self._master = None for track in self._mixer.list_tracks(): if track.flags & gst.interfaces.MIXER_TRACK_MASTER: self._master = track From 78f51a1b56a5a8b3f3adcb078b01bec4ba0309d0 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 18 Oct 2007 22:10:21 +0200 Subject: [PATCH 2/2] Snapshot b023dd17a2. --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 6f6ff784..5c4c9cb1 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +Snapshot b023dd17a2 + +* Fix a crash in the emulator (marco) + Snapshot 276e1ee517 * #4266 Avoid misleading warning every time an activity starts (smcv)