vlc | branch: master | Francois Cartegnie <[email protected]> | Fri May 20 22:47:04 2016 +0200| [eb081de95c63d002196b16c9741f2ca49995aca8] | committer: Francois Cartegnie
Revert "access: dtv: try some default bandwidth values" This reverts commit 7b1ac7887307d860372dbcab1c84a23517fe17b7. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb081de95c63d002196b16c9741f2ca49995aca8 --- modules/access/dtv/linux.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/access/dtv/linux.c b/modules/access/dtv/linux.c index ff0be4c..6e21e72 100644 --- a/modules/access/dtv/linux.c +++ b/modules/access/dtv/linux.c @@ -41,11 +41,6 @@ #include "dtv/dtv.h" #include "dtv/en50221.h" -/* dvbv5 has no support for automatic bandwidth */ -#define DEFAULT_BANDWIDTH_DVBT 8000000 -#define DEFAULT_BANDWIDTH_DVBT2 DEFAULT_BANDWIDTH_DVBT /* Assume DVB-T2 comes from reused DVB-T freqs */ -#define DEFAULT_BANDWIDTH_ISDBT 6000000 - #ifndef O_SEARCH # define O_SEARCH O_RDONLY #endif @@ -1032,8 +1027,6 @@ int dvb_set_dvbt (dvb_device_t *d, uint32_t freq, const char *modstr, fec_hp = dvb_parse_fec (fec_hp); fec_lp = dvb_parse_fec (fec_lp); bandwidth = dvb_parse_bandwidth (bandwidth); - if(bandwidth == 0) - bandwidth = DEFAULT_BANDWIDTH_DVBT; transmit_mode = dvb_parse_transmit_mode (transmit_mode); guard = dvb_parse_guard (guard); hierarchy = dvb_parse_hierarchy (hierarchy); @@ -1057,8 +1050,6 @@ int dvb_set_dvbt2 (dvb_device_t *d, uint32_t freq, const char *modstr, uint32_t mod = dvb_parse_modulation (modstr, QAM_AUTO); fec = dvb_parse_fec (fec); bandwidth = dvb_parse_bandwidth (bandwidth); - if(bandwidth == 0) - bandwidth = DEFAULT_BANDWIDTH_DVBT2; transmit_mode = dvb_parse_transmit_mode (transmit_mode); guard = dvb_parse_guard (guard); @@ -1147,8 +1138,6 @@ int dvb_set_isdbt (dvb_device_t *d, uint32_t freq, uint32_t bandwidth, const isdbt_layer_t layers[3]) { bandwidth = dvb_parse_bandwidth (bandwidth); - if(bandwidth == 0) - bandwidth = DEFAULT_BANDWIDTH_ISDBT; transmit_mode = dvb_parse_transmit_mode (transmit_mode); guard = dvb_parse_guard (guard); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
