summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-26 05:15:53 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-26 05:15:53 +0000
commit2ad1d1c0c2885a18a7228acc64e8c4b8d857db53 (patch)
tree69d046d52de3972b2e206f5847898d4a30820363 /stream
parent3e0d0aca853327bb745d92cb0f5e68e2217fb829 (diff)
downloadmpv-2ad1d1c0c2885a18a7228acc64e8c4b8d857db53.tar.bz2
mpv-2ad1d1c0c2885a18a7228acc64e8c4b8d857db53.tar.xz
Remove ugly Russian language support hack.
Currently support for only Latin-1 languages is left. Proper solution for another languages will be added later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24205 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/tvi_vbi.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/stream/tvi_vbi.c b/stream/tvi_vbi.c
index 82d3b86faa..a7ea54a494 100644
--- a/stream/tvi_vbi.c
+++ b/stream/tvi_vbi.c
@@ -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;
}
/**