Mercurial > mplayer.hg
changeset 29761:b5e34617a096
Support ISDB-Tb tunning in Brazil
Patch by Srgio Fortier, sergiofortier A yahoo com br
author | cehoyos |
---|---|
date | Fri, 30 Oct 2009 10:03:54 +0000 |
parents | 1cc8a20520e8 |
children | bb26e1db5c90 |
files | stream/stream_dvb.c |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_dvb.c Thu Oct 29 22:39:00 2009 +0000 +++ b/stream/stream_dvb.c Fri Oct 30 10:03:54 2009 +0000 @@ -323,8 +323,9 @@ ptr->mod = VSB_8; else if(! strcmp(mod, "VSB_16") || !strcmp(mod, "16VSB")) ptr->mod = VSB_16; + else if(! strcmp(mod, "QAM_AUTO")) + ptr->mod = QAM_AUTO; - ptr->inv = INVERSION_AUTO; #endif } @@ -342,7 +343,8 @@ ptr->trans = TRANSMISSION_MODE_2K; else if(! strcmp(transm, "TRANSMISSION_MODE_8K")) ptr->trans = TRANSMISSION_MODE_8K; - + else if(! strcmp(transm, "TRANSMISSION_MODE_AUTO")) + ptr->trans = TRANSMISSION_MODE_AUTO; if(! strcmp(gi, "GUARD_INTERVAL_1_32")) ptr->gi = GUARD_INTERVAL_1_32; @@ -350,7 +352,9 @@ ptr->gi = GUARD_INTERVAL_1_16; else if(! strcmp(gi, "GUARD_INTERVAL_1_8")) ptr->gi = GUARD_INTERVAL_1_8; - else ptr->gi = GUARD_INTERVAL_1_4; + else if(! strcmp(gi, "GUARD_INTERVAL_1_4")) + ptr->gi = GUARD_INTERVAL_1_4; + else ptr->gi = GUARD_INTERVAL_AUTO; if(! strcmp(tmp_lcr, "FEC_1_2")) ptr->cr_lp =FEC_1_2;