commit d4ea244a4e13f3907a0ef8916ff96ee49dcb4e37
Author: Kyle <klillis@gmail.com>
Date: Tue Jul 24 08:19:14 2012 -0400
Fixed bug in firewirerecorder.cpp PauseAndWait function that caused backend to
crash after consecutive channel changes in livetv. Paused flag would never get
set. So listeners were continuously added.
diff --git a/mythtv/libs/libmythtv/firewirerecorder.cpp b/mythtv/libs/libmythtv/firewirerecorder.cpp
index 9caa28e..aeb9830 100644
a
|
b
|
bool FirewireRecorder::PauseAndWait(int timeout) |
210 | 210 | { |
211 | 211 | LOG(VB_RECORD, LOG_INFO, LOC + |
212 | 212 | QString("PauseAndWait(%1) -- unpause").arg(timeout)); |
213 | | StartStreaming(); |
214 | | unpauseWait.wakeAll(); |
| 213 | StartStreaming(); |
| 214 | paused = false; |
| 215 | unpauseWait.wakeAll(); |
215 | 216 | } |
216 | 217 | |
217 | 218 | return IsPaused(true); |