diff options
author | phintuka <phintuka> | 2006-09-03 14:03:52 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-09-03 14:03:52 +0000 |
commit | f5412149c3fb31eb44767af87c02c3d73502da98 (patch) | |
tree | d8c82c0b7ba565fb7e9a2119670f12bcd3d011c8 | |
parent | 558a97ad89dfd065c9a3dbf2a61c70feb9a59a6e (diff) | |
download | xineliboutput-f5412149c3fb31eb44767af87c02c3d73502da98.tar.gz xineliboutput-f5412149c3fb31eb44767af87c02c3d73502da98.tar.bz2 |
Removed some logging (force primary device)
Added buffer clear to play mode change
-rw-r--r-- | device.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: device.c,v 1.17 2006-08-25 08:29:38 phintuka Exp $ + * $Id: device.c,v 1.18 2006-09-03 14:03:52 phintuka Exp $ * */ @@ -256,7 +256,7 @@ void cXinelibDevice::MakePrimaryDevice(bool On) void cXinelibDevice::ForcePrimaryDevice(bool On) { - LOGDBG("cXinelibDevice::ForcePrimaryDevice(%s)",On?"On":"Off"); + TRACEF("cXinelibDevice::ForcePrimaryDevice"); m_MainThreadLock.Lock(); m_MainThreadFunctors.Add(CreateFunctor(this, &cXinelibDevice::ForcePrimaryDeviceImpl, On)); m_MainThreadLock.Unlock(); @@ -268,7 +268,7 @@ void cXinelibDevice::ForcePrimaryDeviceImpl(bool On) static int Counter = 0; TRACEF("cXinelibDevice::ForcePrimaryDeviceImpl"); - LOGDBG("cXinelibDevice::ForcePrimaryDeviceImpl(%s)",On?"On":"Off"); + /*LOGDBG("cXinelibDevice::ForcePrimaryDeviceImpl(%s)",On?"On":"Off");*/ /* TODO: All this stuff should really be done in VDR main thread context... */ @@ -328,7 +328,7 @@ void cXinelibDevice::MainThreadHook(void) m_MainThreadLock.Unlock(); if(f) { - LOGDBG("cXinelibDevice::MainThreadHook: executing functor 0x%lx",(long)f); + /*LOGDBG("cXinelibDevice::MainThreadHook: executing functor 0x%lx",(long)f);*/ f->Execute(); } @@ -587,6 +587,7 @@ bool cXinelibDevice::SetPlayMode(ePlayMode PlayMode) ForEach(m_clients, &cXinelibThread::SetNoVideo, true); } else { ForEach(m_clients, &cXinelibThread::SetNoVideo, m_RadioStream); + ForEach(m_clients, &cXinelibThread::Clear); } return true; |