File: 040_dvbc_tuning.patch

package info (click to toggle)
dvbstream 0.6%2Bcvs20090621-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 600 kB
  • sloc: ansic: 7,616; makefile: 56; perl: 43; sh: 20
file content (21 lines) | stat: -rw-r--r-- 886 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Ensure that tuning obeys the command-line parameter rather than
hard-coded value in tune.c 

In tune.c, the QAM tuning parameter INVERSION_OFF
causes tuning to fail (Cinergy 1200 DVB-C budget card,
linux 2.6.12, HTV cable network in Finland). 

Patch from patch tracker in Sourceforge. thanks to anonymous.

diff -ruN dvbstream-0.6+cvs20060501-old/tune.c dvbstream-0.6+cvs20060501/tune.c
--- dvbstream-0.6+cvs20060501-old/tune.c	2006-05-02 10:13:09.000000000 +0100
+++ dvbstream-0.6+cvs20060501/tune.c	2006-05-02 11:32:33.000000000 +0100
@@ -269,7 +269,7 @@
     case FE_QAM:
       fprintf(stderr,"tuning DVB-C to %d, srate=%d\n",freq,srate);
       feparams.frequency=freq;
-      feparams.inversion=INVERSION_OFF;
+      feparams.inversion=specInv;
       feparams.u.qam.symbol_rate = srate;
       feparams.u.qam.fec_inner = FEC_AUTO;
       feparams.u.qam.modulation = modulation;