mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed saving the polarization parameter of channels that have a number in the 'source' parameter
This commit is contained in:
parent
700b92e99c
commit
443d9b786d
@ -460,3 +460,7 @@ Dennis Noordsij <dennis.noordsij@wiral.com>
|
|||||||
|
|
||||||
Steffen Barszus <st_barszus@gmx.de>
|
Steffen Barszus <st_barszus@gmx.de>
|
||||||
for reporting a bug in switching audio tracks in 'Transfer Mode' on the primary DVB device
|
for reporting a bug in switching audio tracks in 'Transfer Mode' on the primary DVB device
|
||||||
|
|
||||||
|
Peter Seyringer <e9425234@student.tuwien.ac.at>
|
||||||
|
for reporting a bug in saving the polarization parameter of channels that have a
|
||||||
|
number in the 'source' parameter
|
||||||
|
5
HISTORY
5
HISTORY
@ -1721,3 +1721,8 @@ Video Disk Recorder Revision History
|
|||||||
DVB_DRIVER_VERSION stuff has been replaced with DO_REC_AND_PLAY_ON_PRIMARY_DEVICE,
|
DVB_DRIVER_VERSION stuff has been replaced with DO_REC_AND_PLAY_ON_PRIMARY_DEVICE,
|
||||||
which can be used to disable simultaneous recording and replaying on the primary
|
which can be used to disable simultaneous recording and replaying on the primary
|
||||||
DVB device in case there are problems with this.
|
DVB device in case there are problems with this.
|
||||||
|
|
||||||
|
2002-11-08: Version 1.1.16
|
||||||
|
|
||||||
|
- Fixed saving the polarization parameter of channels that have a number in the
|
||||||
|
'source' parameter (thanks to Peter Seyringer for reporting this one).
|
||||||
|
@ -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 1.6 2002/11/01 10:26:45 kls Exp $
|
* $Id: channels.c 1.7 2002/11/08 13:21:16 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "channels.h"
|
#include "channels.h"
|
||||||
@ -128,7 +128,7 @@ cChannel::cChannel(void)
|
|||||||
{
|
{
|
||||||
*name = 0;
|
*name = 0;
|
||||||
frequency = 0;
|
frequency = 0;
|
||||||
source = 0;
|
source = cSource::FromString("S19.2E");
|
||||||
srate = 0;
|
srate = 0;
|
||||||
vpid = 0;
|
vpid = 0;
|
||||||
apid1 = 0;
|
apid1 = 0;
|
||||||
@ -155,7 +155,7 @@ cChannel::cChannel(const cChannel *Channel)
|
|||||||
{
|
{
|
||||||
strcpy(name, Channel ? Channel->name : "Pro7");
|
strcpy(name, Channel ? Channel->name : "Pro7");
|
||||||
frequency = Channel ? Channel->frequency : 12480;
|
frequency = Channel ? Channel->frequency : 12480;
|
||||||
source = Channel ? Channel->source : 0;
|
source = Channel ? Channel->source : cSource::FromString("S19.2E");
|
||||||
srate = Channel ? Channel->srate : 27500;
|
srate = Channel ? Channel->srate : 27500;
|
||||||
vpid = Channel ? Channel->vpid : 255;
|
vpid = Channel ? Channel->vpid : 255;
|
||||||
apid1 = Channel ? Channel->apid1 : 256;
|
apid1 = Channel ? Channel->apid1 : 256;
|
||||||
@ -185,6 +185,8 @@ static int PrintParameter(char *p, char Name, int Value)
|
|||||||
const char *cChannel::ParametersToString(void)
|
const char *cChannel::ParametersToString(void)
|
||||||
{
|
{
|
||||||
char type = *cSource::ToString(source);
|
char type = *cSource::ToString(source);
|
||||||
|
if (isdigit(type))
|
||||||
|
type = 'S';
|
||||||
#define ST(s) if (strchr(s, type))
|
#define ST(s) if (strchr(s, type))
|
||||||
static char buffer[64];
|
static char buffer[64];
|
||||||
char *q = buffer;
|
char *q = buffer;
|
||||||
|
4
config.h
4
config.h
@ -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: config.h 1.138 2002/11/01 09:27:17 kls Exp $
|
* $Id: config.h 1.139 2002/11/08 13:16:12 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
@ -20,7 +20,7 @@
|
|||||||
#include "eit.h"
|
#include "eit.h"
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
|
|
||||||
#define VDRVERSION "1.1.15"
|
#define VDRVERSION "1.1.16"
|
||||||
|
|
||||||
#define MAXPRIORITY 99
|
#define MAXPRIORITY 99
|
||||||
#define MAXLIFETIME 99
|
#define MAXLIFETIME 99
|
||||||
|
Loading…
Reference in New Issue
Block a user