[vlc-commits] dvb: get current modulation if dvb-c iteration didn't specify new one

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


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu Mar 17 14:08:51 2011 +0200| [15b69453f52f0c07a8893d526f8bc4cd59f8cefd] | committer: Ilkka Ollakka

dvb: get current modulation if dvb-c iteration didn't specify new one

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

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

diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c
index 0b1c082..230e113 100644
--- a/modules/access/dvb/scan.c
+++ b/modules/access/dvb/scan.c
@@ -551,6 +551,8 @@ static int ScanDvbCNext( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf
     p_cfg->i_modulation = p_scan->parameter.i_modulation;
     if( !p_cfg->i_symbolrate )
         p_cfg->i_symbolrate = var_GetInteger( p_scan->p_obj, "dvb-srate" );
+    if( !p_cfg->i_modulation )
+        p_cfg->i_modulation = var_GetInteger( p_scan->p_obj, "dvb-modulation" );
 
     if( p_scan->parameter.b_exhaustive )
         return ScanDvbNextExhaustive( p_scan, p_cfg, pf_pos );



More information about the vlc-commits mailing list