Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: DVB-t - vdr not correctly passing parameters?
fruit wrote:
>
> In article <005601c26f58$43a5a6d0$0601010a@ian>,
> Ian Rickards <Ian.Rickards@btinternet.com> wrote:
> > I needed to add I0 to the settings - INVERSION_OFF
>
> > I'm only using QAM64, but I definitely need the above.
>
> Yes, you're right. I was having problems because my Inversion was set to
> Auto - and not being written to channels.conf.
>
> Seems any parameter set to Auto doesn't get written to channels.conf.
>
> Is this intentional Klaus? Looks not from your comment.
>
> If not then in channels.c (vdr 1.1.12)
>
> static int PrintParameter(char *p, char Name, int Value)
> {
> return Value >= 0 && (Value != 1000 || (Name != 'I' && Name != 'C')) ? sprintf(p, "%c%d", Name, Value) : 0;
> }
>
> stores Auto values as 999.
I don't quite get what you're doing here. Why have you changed 999 to 1000?
If you want AUTO values to be stored, just leave out the whole part
&& (Value != 999 || (Name != 'I' && Name != 'C')
and make the line
return Value >= 0 ? sprintf(p, "%c%d", Name, Value) : 0;
I just filtered these out to still have the 'v' and 'h' entries for DVB-S channels
without any additional (and unnecessary) other parameters.
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index