[MPlayer-cvslog] r24205 - trunk/stream/tvi_vbi.c

voroshil subversion at mplayerhq.hu
Sun Aug 26 07:15:53 CEST 2007


Author: voroshil
Date: Sun Aug 26 07:15:53 2007
New Revision: 24205

Log:
Remove ugly Russian language support hack.

Currently support for only Latin-1 languages is left.
Proper solution for another languages will be added later.



Modified:
   trunk/stream/tvi_vbi.c

Modified: trunk/stream/tvi_vbi.c
==============================================================================
--- trunk/stream/tvi_vbi.c	(original)
+++ trunk/stream/tvi_vbi.c	Sun Aug 26 07:15:53 2007
@@ -262,17 +262,7 @@ static unsigned int latin_subchars[8][13
 };
 
 static int lang2id (int lang){
-  switch(lang){
-  case 0:
-      return LAT_UNI;
-  case 3: /* Stub. My teletext provider (1TV, Russia) sets this this language 
-             code for russian teletext pages
-             TODO: make this configurable
-           */
-      return RUS_UNI;
-  default:
-      return LAT_UNI;
-  }
+    return LAT_UNI;
 }
 
 /**



More information about the MPlayer-cvslog mailing list