[vlc-devel] commit: Use the same frequency range for DVB-T/C than our linux dvb module. (Laurent Aimar )

git version control git at videolan.org
Fri Apr 24 21:40:54 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Apr 24 21:39:22 2009 +0200| [ac5f92c8466911e866b8cd02776c93890a2c7309] | committer: Laurent Aimar 

Use the same frequency range for DVB-T/C than our linux dvb module.

It also makes it match the dvb-frequency option documentation.

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

 modules/access/bda/bdagraph.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/bda/bdagraph.cpp b/modules/access/bda/bdagraph.cpp
index a57797f..c14a1b2 100644
--- a/modules/access/bda/bdagraph.cpp
+++ b/modules/access/bda/bdagraph.cpp
@@ -285,7 +285,7 @@ int BDAGraph::SubmitDVBTTuneRequest()
     TransmissionMode          i_transmission;
     HierarchyAlpha            i_hierarchy;
 
-    l_frequency    = var_GetInteger( p_access, "dvb-frequency" );
+    l_frequency    = var_GetInteger( p_access, "dvb-frequency" ) / 1000;
     l_bandwidth    = var_GetInteger( p_access, "dvb-bandwidth" );
     l_hp_fec       = var_GetInteger( p_access, "dvb-code-rate-hp" );
     l_lp_fec       = var_GetInteger( p_access, "dvb-code-rate-lp" );
@@ -481,7 +481,7 @@ int BDAGraph::SubmitDVBCTuneRequest()
     int  i_qam;
     ModulationType i_qam_mod;
 
-    l_frequency  = var_GetInteger( p_access, "dvb-frequency" );
+    l_frequency  = var_GetInteger( p_access, "dvb-frequency" ) / 1000;
     l_symbolrate = var_GetInteger( p_access, "dvb-srate" );
     i_qam        = var_GetInteger( p_access, "dvb-modulation" );
 




More information about the vlc-devel mailing list