1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

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 caused invalid CA ids to be added to the channel definitions
for pointing out a problem with the initialization of aPid1 and aPid2 in for pointing out a problem with the initialization of aPid1 and aPid2 in
cDvbDevice::cDvbDevice() in case a patch references them 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> Marco Schlüßler <marco@lordzodiac.de>
for fixing handling colors in cDvbSpuPalette::yuv2rgb() for fixing handling colors in cDvbSpuPalette::yuv2rgb()

View File

@ -3020,3 +3020,5 @@ Video Disk Recorder Revision History
this out). this out).
- Completed the Russian OSD texts (thanks to Vyacheslav Dikonov). - Completed the Russian OSD texts (thanks to Vyacheslav Dikonov).
- Avoiding unnecessary section filter start/stops (thanks to Marco Schlüßler). - 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 * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "device.h"
@ -356,7 +356,7 @@ bool cDevice::SwitchChannel(const cChannel *Channel, bool LiveView)
for (int i = 3; i--;) { for (int i = 3; i--;) {
switch (SetChannel(Channel, LiveView)) { switch (SetChannel(Channel, LiveView)) {
case scrOk: return true; case scrOk: return true;
case scrNotAvailable: Skins.Message(mtError, tr("Channel not available!")); case scrNotAvailable: Skins.Message(mtInfo, tr("Channel not available!"));
return false; return false;
case scrNoTransfer: Skins.Message(mtError, tr("Can't start Transfer Mode!")); case scrNoTransfer: Skins.Message(mtError, tr("Can't start Transfer Mode!"));
return false; return false;