[MPlayer-cvslog] r29803 - trunk/stream/stream_dvb.c

cehoyos subversion at mplayerhq.hu
Fri Oct 30 11:03:54 CET 2009


Author: cehoyos
Date: Fri Oct 30 11:03:54 2009
New Revision: 29803

Log:
Support ISDB-Tb tunning in Brazil

Patch by Sérgio Fortier, sergiofortier A yahoo com br

Modified:
   trunk/stream/stream_dvb.c

Modified: trunk/stream/stream_dvb.c
==============================================================================
--- trunk/stream/stream_dvb.c	Thu Oct 29 23:39:00 2009	(r29802)
+++ trunk/stream/stream_dvb.c	Fri Oct 30 11:03:54 2009	(r29803)
@@ -323,8 +323,9 @@ static dvb_channels_list *dvb_get_channe
 				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 @@ static dvb_channels_list *dvb_get_channe
 				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 @@ static dvb_channels_list *dvb_get_channe
 				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;


More information about the MPlayer-cvslog mailing list