Commit ac5f92c8 authored by Laurent Aimar's avatar 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.
parent e9172f8b
...@@ -285,7 +285,7 @@ int BDAGraph::SubmitDVBTTuneRequest() ...@@ -285,7 +285,7 @@ int BDAGraph::SubmitDVBTTuneRequest()
TransmissionMode i_transmission; TransmissionMode i_transmission;
HierarchyAlpha i_hierarchy; 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_bandwidth = var_GetInteger( p_access, "dvb-bandwidth" );
l_hp_fec = var_GetInteger( p_access, "dvb-code-rate-hp" ); l_hp_fec = var_GetInteger( p_access, "dvb-code-rate-hp" );
l_lp_fec = var_GetInteger( p_access, "dvb-code-rate-lp" ); l_lp_fec = var_GetInteger( p_access, "dvb-code-rate-lp" );
...@@ -481,7 +481,7 @@ int BDAGraph::SubmitDVBCTuneRequest() ...@@ -481,7 +481,7 @@ int BDAGraph::SubmitDVBCTuneRequest()
int i_qam; int i_qam;
ModulationType i_qam_mod; 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" ); l_symbolrate = var_GetInteger( p_access, "dvb-srate" );
i_qam = var_GetInteger( p_access, "dvb-modulation" ); i_qam = var_GetInteger( p_access, "dvb-modulation" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment