Made the "Channel not available!" message and mtInfo instead of mtError

This commit is contained in:
Klaus Schmidinger 2004-10-16 13:51:05 +02:00
parent d7482c8fed
commit 7ba6dae69f
3 changed files with 6 additions and 2 deletions

View File

@ -1032,6 +1032,8 @@ Wayne Keer <syphir@syphir.sytes.net>
caused invalid CA ids to be added to the channel definitions
for pointing out a problem with the initialization of aPid1 and aPid2 in
cDvbDevice::cDvbDevice() in case a patch references them
for suggesting to make the "Channel not available!" message and mtInfo instead of
mtError
Marco Schlüßler <marco@lordzodiac.de>
for fixing handling colors in cDvbSpuPalette::yuv2rgb()

View File

@ -3020,3 +3020,5 @@ Video Disk Recorder Revision History
this out).
- Completed the Russian OSD texts (thanks to Vyacheslav Dikonov).
- Avoiding unnecessary section filter start/stops (thanks to Marco Schlüßler).
- Made the "Channel not available!" message and mtInfo instead of mtError (suggested
by Wayne Keer).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: device.c 1.58 2004/10/16 13:41:23 kls Exp $
* $Id: device.c 1.59 2004/10/16 13:49:35 kls Exp $
*/
#include "device.h"
@ -356,7 +356,7 @@ bool cDevice::SwitchChannel(const cChannel *Channel, bool LiveView)
for (int i = 3; i--;) {
switch (SetChannel(Channel, LiveView)) {
case scrOk: return true;
case scrNotAvailable: Skins.Message(mtError, tr("Channel not available!"));
case scrNotAvailable: Skins.Message(mtInfo, tr("Channel not available!"));
return false;
case scrNoTransfer: Skins.Message(mtError, tr("Can't start Transfer Mode!"));
return false;