Skip to content

Commit

Permalink
Add extra verbosity for debugging purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
jyavenard committed Aug 10, 2012
1 parent 3234a34 commit f8b772b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mythtv/libs/libmythtv/iptvrecorder.cpp
Expand Up @@ -65,19 +65,23 @@ void IPTVRecorder::Close(void)

void IPTVRecorder::StopRecording(void)
{
LOG(VB_RECORD, LOG_DEBUG, LOC + "StopRecording() -- begin");
QMutexLocker locker(&pauseLock);
request_recording = false;
if (_channel && _channel->GetFeeder())
_channel->GetFeeder()->Stop();
unpauseWait.wakeAll();
LOG(VB_RECORD, LOG_DEBUG, LOC + "StopRecording() -- end");
}

void IPTVRecorder::Pause(bool /*clear*/)
{
LOG(VB_RECORD, LOG_DEBUG, LOC + "Pause() -- begin");
QMutexLocker locker(&pauseLock);
request_pause = true;
if (_channel && _channel->GetFeeder())
_channel->GetFeeder()->Stop();
LOG(VB_RECORD, LOG_DEBUG, LOC + "Pause() -- end");
}

void IPTVRecorder::run(void)
Expand Down

0 comments on commit f8b772b

Please sign in to comment.