mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed unjustified log entries about changed channel pids
This commit is contained in:
parent
cfb37a7edf
commit
eff0655b1d
@ -2543,6 +2543,7 @@ Derek Kelly (user.vdr@gmail.com)
|
|||||||
for updating sources.conf
|
for updating sources.conf
|
||||||
for reporting a problem where the frame rate was not detected correctly
|
for reporting a problem where the frame rate was not detected correctly
|
||||||
for testing the implementation of FE_CAN_TURBO_FEC
|
for testing the implementation of FE_CAN_TURBO_FEC
|
||||||
|
for reporting unjustified log entries about changed channel pids
|
||||||
|
|
||||||
Marcel Unbehaun <frostworks@gmx.de>
|
Marcel Unbehaun <frostworks@gmx.de>
|
||||||
for adding cRecordingInfo::GetEvent()
|
for adding cRecordingInfo::GetEvent()
|
||||||
|
3
HISTORY
3
HISTORY
@ -6481,7 +6481,7 @@ Video Disk Recorder Revision History
|
|||||||
from Osama Alrawab). See INSTALL for information on how to turn this on.
|
from Osama Alrawab). See INSTALL for information on how to turn this on.
|
||||||
- Added Arabian language texts (thanks to Osama Alrawab).
|
- Added Arabian language texts (thanks to Osama Alrawab).
|
||||||
|
|
||||||
2010-11-01: Version 1.7.17
|
2010-11-07: Version 1.7.17
|
||||||
|
|
||||||
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
|
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
|
||||||
- Fixed following symbolic links in RemoveFileOrDir() (cont'd) (thanks to
|
- Fixed following symbolic links in RemoveFileOrDir() (cont'd) (thanks to
|
||||||
@ -6502,3 +6502,4 @@ Video Disk Recorder Revision History
|
|||||||
You should also change the line "F 25" to "F 50" in the 'info' file of that recording.
|
You should also change the line "F 25" to "F 50" in the 'info' file of that recording.
|
||||||
- Added support for "registration descriptor" to 'libsi' and using it in pat.c (thanks
|
- Added support for "registration descriptor" to 'libsi' and using it in pat.c (thanks
|
||||||
to Rolf Ahrenberg).
|
to Rolf Ahrenberg).
|
||||||
|
- Fixed unjustified log entries about changed channel pids (reported by Derek Kelly).
|
||||||
|
10
channels.c
10
channels.c
@ -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: channels.c 2.16 2010/06/05 13:33:57 kls Exp $
|
* $Id: channels.c 2.17 2010/11/07 12:24:59 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "channels.h"
|
#include "channels.h"
|
||||||
@ -262,12 +262,14 @@ static int IntArraysDiffer(const int *a, const int *b, const char na[][MAXLANGCO
|
|||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
for (int i = 0; a[i] || b[i]; i++) {
|
for (int i = 0; a[i] || b[i]; i++) {
|
||||||
if (a[i] && na && nb && strcmp(na[i], nb[i]) != 0)
|
if (!a[i] || !b[i]) {
|
||||||
|
result |= VALDIFF;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (na && nb && strcmp(na[i], nb[i]) != 0)
|
||||||
result |= STRDIFF;
|
result |= STRDIFF;
|
||||||
if (a[i] != b[i])
|
if (a[i] != b[i])
|
||||||
result |= VALDIFF;
|
result |= VALDIFF;
|
||||||
if (!a[i] || !b[i])
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user