[MPlayer-users] Small enhancement for gmplayer

Michal Kosmulski M.Kosmulski at elka.pw.edu.pl
Fri Nov 7 13:41:40 CET 2003


The attached patch adds cp1250 encoding (windows Central European) to
gmplayer's list of subtitle file encodings. It is made against 0.92 but
should work with the cvs version as well (actually it is only a matter of
adding a total of 3 lines in the code).
Greetings,
Michal Kosmulski
-------------- next part --------------
diff -ru MPlayer-0.92/Gui/mplayer/gtk/opts.c MPlayer-0.92-moj/Gui/mplayer/gtk/opts.c
--- MPlayer-0.92/Gui/mplayer/gtk/opts.c	2003-02-08 22:54:57.000000000 +0100
+++ MPlayer-0.92-moj/Gui/mplayer/gtk/opts.c	2003-11-05 17:15:51.000000000 +0100
@@ -122,6 +122,7 @@
   { "iso-8859-1",  MSGTR_PREFERENCES_FontEncoding2 },
   { "iso-8859-15", MSGTR_PREFERENCES_FontEncoding3 },
   { "iso-8859-2",  MSGTR_PREFERENCES_FontEncoding4 },
+  { "cp1250",  MSGTR_PREFERENCES_FontEncoding22 },
   { "iso-8859-3",  MSGTR_PREFERENCES_FontEncoding5 },
   { "iso-8859-4",  MSGTR_PREFERENCES_FontEncoding6 },
   { "iso-8859-5",  MSGTR_PREFERENCES_FontEncoding7 },
diff -ru MPlayer-0.92/help/help_mp-en.h MPlayer-0.92-moj/help/help_mp-en.h
--- MPlayer-0.92/help/help_mp-en.h	2003-08-13 00:22:11.000000000 +0200
+++ MPlayer-0.92-moj/help/help_mp-en.h	2003-11-05 17:20:12.000000000 +0100
@@ -553,6 +553,7 @@
 #define MSGTR_PREFERENCES_FontEncoding2 "Western European Languages (ISO-8859-1)"
 #define MSGTR_PREFERENCES_FontEncoding3 "Western European Languages with Euro (ISO-8859-15)"
 #define MSGTR_PREFERENCES_FontEncoding4 "Slavic/Central European Languages (ISO-8859-2)"
+#define MSGTR_PREFERENCES_FontEncoding22 "Slavic/Central European Languages (CP1250)"
 #define MSGTR_PREFERENCES_FontEncoding5 "Esperanto, Galician, Maltese, Turkish (ISO-8859-3)"
 #define MSGTR_PREFERENCES_FontEncoding6 "Old Baltic charset (ISO-8859-4)"
 #define MSGTR_PREFERENCES_FontEncoding7 "Cyrillic (ISO-8859-5)"
diff -ru MPlayer-0.92/help/help_mp-pl.h MPlayer-0.92-moj/help/help_mp-pl.h
--- MPlayer-0.92/help/help_mp-pl.h	2003-08-09 16:12:33.000000000 +0200
+++ MPlayer-0.92-moj/help/help_mp-pl.h	2003-11-05 17:21:03.000000000 +0100
@@ -553,6 +553,7 @@
 #define MSGTR_PREFERENCES_FontEncoding2 "J?zyki zachodnioeuropejskie (ISO-8859-1)"
 #define MSGTR_PREFERENCES_FontEncoding3 "J?zyki zachodnioeuropejskiez Euro (ISO-8859-15)"
 #define MSGTR_PREFERENCES_FontEncoding4 "J?zyki s?owia?skie i ?rodkowoeuropejskie (ISO-8859-2)"
+#define MSGTR_PREFERENCES_FontEncoding22 "J?zyki s?owia?skie i ?rodkowoeuropejskie (CP1250)"
 #define MSGTR_PREFERENCES_FontEncoding5 "Esperanto, Galician, malta?ski, turecki (ISO-8859-3)"
 #define MSGTR_PREFERENCES_FontEncoding6 "Stare znaki ba?tyckie (ISO-8859-4)"
 #define MSGTR_PREFERENCES_FontEncoding7 "Cyrylica (ISO-8859-5)"



More information about the MPlayer-users mailing list