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:
parent
d7482c8fed
commit
7ba6dae69f
@ -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()
|
||||
|
2
HISTORY
2
HISTORY
@ -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).
|
||||
|
4
device.c
4
device.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user