[vlc-commits] dvb: dvb-c channels seems to have only QAM64..256 modulations, so no point on iterate over QAM32/16

Ilkka Ollakka git at videolan.org
Thu Mar 17 14:24:29 CET 2011


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu Mar 17 14:38:57 2011 +0200| [580f668d77c3811eb4e778430083c43c3961e4ab] | committer: Ilkka Ollakka

dvb: dvb-c channels seems to have only QAM64..256 modulations, so no point on iterate over QAM32/16

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=580f668d77c3811eb4e778430083c43c3961e4ab
---

 modules/access/dvb/scan.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c
index 017be0e..1acb28b 100644
--- a/modules/access/dvb/scan.c
+++ b/modules/access/dvb/scan.c
@@ -555,7 +555,9 @@ static int ScanDvbCNext( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf
         {
             p_scan->parameter.i_modulation = (p_scan->parameter.i_modulation >> 1 );
             /* if we iterated all modulations, move on */
-            if( p_scan->parameter.i_modulation < 16)
+            /* dvb utils dvb-c channels files seems to have only
+               QAM64...QAM256, so lets just iterate over those */
+            if( p_scan->parameter.i_modulation < 64)
             {
                 p_scan->parameter.i_modulation = 256;
             } else {



More information about the vlc-commits mailing list