changeset 30894:aac2ca51ece0

Drop support for XANIM_MOD_DIR environment variable. It is now possible to specify alternative codec paths on the comand line. Furthermore, XANIM_MOD_DIR was never properly documented.
author diego
date Thu, 18 Mar 2010 23:37:57 +0000
parents 82e3adea8476
children f08d81b195fa
files DOCS/man/cs/mplayer.1 DOCS/man/de/mplayer.1 DOCS/man/en/mplayer.1 DOCS/man/fr/mplayer.1 DOCS/man/hu/mplayer.1 DOCS/man/it/mplayer.1 DOCS/man/ru/mplayer.1 DOCS/man/zh_CN/mplayer.1 libmpcodecs/vd_xanim.c
diffstat 9 files changed, 0 insertions(+), 51 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/man/cs/mplayer.1	Thu Mar 18 23:32:14 2010 +0000
+++ b/DOCS/man/cs/mplayer.1	Thu Mar 18 23:37:57 2010 +0000
@@ -10306,12 +10306,6 @@
 .B USERPROFILE
 DODÄšLAT: Zdokumentovat.
 .
-.SS libmpcodecs:
-.
-.TP
-.B XANIM_MOD_DIR
-DODÄšLAT: Zdokumentovat.
-.
 .SS GUI:
 .
 .TP
--- a/DOCS/man/de/mplayer.1	Thu Mar 18 23:32:14 2010 +0000
+++ b/DOCS/man/de/mplayer.1	Thu Mar 18 23:37:57 2010 +0000
@@ -11391,12 +11391,6 @@
 .B USERPROFILE
 FIXME: Muss noch dokumentiert werden.
 .
-.SS libmpcodecs:
-.
-.TP
-.B XANIM_MOD_DIR
-FIXME: Muss noch dokumentiert werden.
-.
 .SS GUI:
 .
 .TP
--- a/DOCS/man/en/mplayer.1	Thu Mar 18 23:32:14 2010 +0000
+++ b/DOCS/man/en/mplayer.1	Thu Mar 18 23:37:57 2010 +0000
@@ -11317,12 +11317,6 @@
 .B USERPROFILE
 FIXME: Document this.
 .
-.SS libmpcodecs:
-.
-.TP
-.B XANIM_MOD_DIR
-FIXME: Document this.
-.
 .SS GUI:
 .
 .TP
--- a/DOCS/man/fr/mplayer.1	Thu Mar 18 23:32:14 2010 +0000
+++ b/DOCS/man/fr/mplayer.1	Thu Mar 18 23:37:57 2010 +0000
@@ -11697,12 +11697,6 @@
 .B USERPROFILE
 FIXME: Documente ceci.
 .
-.SS libmpcodecs:
-.
-.TP
-.B XANIM_MOD_DIR
-FIXME: Documente ceci.
-.
 .SS GUI:
 .
 .TP
--- a/DOCS/man/hu/mplayer.1	Thu Mar 18 23:32:14 2010 +0000
+++ b/DOCS/man/hu/mplayer.1	Thu Mar 18 23:37:57 2010 +0000
@@ -11168,12 +11168,6 @@
 .B USERPROFILE
 FIXME: Ezt még dokumentálni kell.
 .
-.SS libmpcodecs:
-.
-.TP
-.B XANIM_MOD_DIR
-FIXME: Ezt még dokumentálni kell.
-.
 .SS GUI:
 .
 .TP
--- a/DOCS/man/it/mplayer.1	Thu Mar 18 23:32:14 2010 +0000
+++ b/DOCS/man/it/mplayer.1	Thu Mar 18 23:37:57 2010 +0000
@@ -11631,12 +11631,6 @@
 .B USERPROFILE
 FIXME: Da documentare.
 .
-.SS libmpcodecs:
-.
-.TP
-.B XANIM_MOD_DIR
-FIXME: Da documentare.
-.
 .SS GUI:
 .
 .TP
--- a/DOCS/man/ru/mplayer.1	Thu Mar 18 23:32:14 2010 +0000
+++ b/DOCS/man/ru/mplayer.1	Thu Mar 18 23:37:57 2010 +0000
@@ -11271,12 +11271,6 @@
 .B USERPROFILE
 FIXME: ïÐÉÓÁÔØ ÜÔÏ.
 .
-.SS libmpcodecs:
-.
-.TP
-.B XANIM_MOD_DIR
-FIXME: ïÐÉÓÁÔØ ÜÔÏ.
-.
 .SS GUI:
 .
 .TP
--- a/DOCS/man/zh_CN/mplayer.1	Thu Mar 18 23:32:14 2010 +0000
+++ b/DOCS/man/zh_CN/mplayer.1	Thu Mar 18 23:37:57 2010 +0000
@@ -10560,12 +10560,6 @@
 .B USERPROFILE
 FIXME: 待解释。
 .
-.SS libmpcodecs:
-.
-.TP
-.B XANIM_MOD_DIR
-FIXME: 待解释。
-.
 .SS GUI:
 .
 .TP
--- a/libmpcodecs/vd_xanim.c	Thu Mar 18 23:32:14 2010 +0000
+++ b/libmpcodecs/vd_xanim.c	Thu Mar 18 23:37:57 2010 +0000
@@ -683,9 +683,6 @@
     for (i=0; i < XA_CLOSE_FUNCS; i++)
 	xa_close_func[i] = NULL;
 
-    if (getenv("XANIM_MOD_DIR"))
-	def_path = getenv("XANIM_MOD_DIR");
-
     snprintf(dll, 1024, "%s/%s", def_path, sh->codec->dll);
     if (xacodec_load(sh, dll) == 0)
 	return 0;