[MPlayer-dev-eng] Patch to support ISDB-Tb tunning in Brazil

Nico Sabbi nicola.sabbi at poste.it
Fri Oct 30 10:52:56 CET 2009


Il venerdì 30 ottobre 2009 00:45:25 Sérgio Fortier ha scritto:
> Patch to support ISDB-Tb tuning in Brazil.
> - support to QAM_AUTO, TRANSMISSION_MODE_AUTO, GUARD_INTERVAL_AUTO
>
>
> --- stream_dvb.c~    2009-10-29 20:58:46.000000000 -0200
> +++ stream_dvb.c    2009-10-29 20:58:46.000000000 -0200
> @@ -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;
>
>
>      

please, someone commit. I don't have time right now.
Thanks to the poster.



More information about the MPlayer-dev-eng mailing list