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

Sérgio Fortier sergiofortier at yahoo.com.br
Fri Oct 30 00:45:25 CET 2009


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;


      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer_ISDB-Tb.patch
Type: application/octet-stream
Size: 1051 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091029/1013845b/attachment.obj>


More information about the MPlayer-dev-eng mailing list