diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-02-08 13:21:34 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-02-08 13:21:34 +0100 |
commit | 74accfb1dc57e3f246ceaa7b202063558439c127 (patch) | |
tree | 49497b1ac6f2041272c772d40e0ca8cfa52a0968 /device.c | |
parent | 93d23752997983f714089e2c892af7a03eadad9b (diff) | |
download | vdr-74accfb1dc57e3f246ceaa7b202063558439c127.tar.gz vdr-74accfb1dc57e3f246ceaa7b202063558439c127.tar.bz2 |
Restricted the "setting audio track" log message to automatic changes during replay
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.88 2005/02/08 11:37:09 kls Exp $ + * $Id: device.c 1.89 2005/02/08 13:06:12 kls Exp $ */ #include "device.h" @@ -756,7 +756,8 @@ void cDevice::EnsureAudioTrack(bool Force) // Make sure we're set to an available audio track: const tTrackId *Track = GetTrack(GetCurrentAudioTrack()); if (Force || !Track || !Track->id || PreferredTrack != GetCurrentAudioTrack()) { - dsyslog("setting audio track to %d", PreferredTrack); + if (!Force) // only log this for automatic changes + dsyslog("setting audio track to %d", PreferredTrack); SetCurrentAudioTrack(PreferredTrack); } } |