Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: vdr-1.1.20: problems tuning to radio stations
Wolfgang Fritz wrote:
>Wolfgang Fritz wrote:
>
>
>
>>Dimitrios Dimitrakos wrote:
>>
>>
>>
>
>[cut]
>
>
>
>>>Rekonstruktion :
>>>- Auf einen Sender wechseln z.B RTL
>>>- Auf einen Radiosender wechseln ( Vpid 0 ) der aber eine andere
>>>Frequenz hat ( es scheint alles zu funktionieren aber TON kommt
>>>trotzdem nicht )
>>>- Auf vorangegangenen Sender zurückspringen ( messages hat den error
>>>)
>>>
>>>PS. Springt man zuerst auf einen Sender mit Vpid, der die gleiche
>>>Frequenz hat kann man im Anschluss auf den Radiosender problemlos
>>>springen. Setzt man auf den Radiosender eine VPID ausser 0 und 0x1fff
>>>(sogar 1 geht, dachte zuerst es liegt an der änderung zum aufnehmen
>>>von Radio sendern) funktioniert wieder alles
>>>
>>>
>>If any vpid works (not only valid ones) I can change my script to
>>convert the channels lists from the Windows driver to replace a zero
>>vpid by 1. I'll try that.
>>
>>
>>
>
>It works. I've replaced all vpid=0 in channels.conf by 1 and can tune
>without problems.
>
>
>
>>Wolfgang
>>
>>[cut]
>>
>>
>>
>>>PS. ERROR kann ich nicht immer reproduzieren.
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
>
>
>
Hi,
you can fix the problem with this patch.
--- VDR/channels.c.orig 2002-12-29 17:34:13.000000000 +0100
+++ VDR/channels.c 2002-12-29 17:35:05.000000000 +0100
@@ -328,6 +328,7 @@
char *parambuf = NULL;
char *apidbuf = NULL;
int fields = sscanf(s, "%a[^:]:%d :%a[^:]:%a[^:] :%d :%d
:%a[^:]:%d :%d :%d :%d :%d :%d ", &namebuf, &frequency, ¶mbuf,
&sourcebuf, &srate, &vpid, &apidbuf, &tpid, &ca, &sid, &nid, &tid, &rid);
+ if ( !vpid ) vpid=1;
if (fields >= 9) {
if (fields == 9) {
// allow reading of old format
Greetings
Dimitri
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index