]> git.pld-linux.org Git - packages/LiVES.git/blame - LiVES-defined_python_plugins_dir.patch
- updated gettext BR
[packages/LiVES.git] / LiVES-defined_python_plugins_dir.patch
CommitLineData
1799a002
SS
1--- lives-0.9.8.6/lives-plugins/plugins/encoders/multi_encoder.orig 2007-11-26 23:50:28.986148300 +0100
2+++ lives-0.9.8.6/lives-plugins/plugins/encoders/multi_encoder 2007-11-27 02:31:35.511459257 +0100
3@@ -109,6 +109,7 @@
4 # 80 characters long. This should be fixed in a future version
5 # of MJPEGtools (> 1.6.2).
6 TEMPDIR = './metd'
7+PYTHON_PLUGINS_DIR = '/usr/share/lives/plugins/python/'
8
9 def run(command):
10 """
11@@ -134,7 +135,7 @@
12 abs_command = command
13 else:
14 path = os.environ.get('PATH', '').split(os.pathsep)
15- for dir in path:
16+ for dir in path + [PYTHON_PLUGINS_DIR]:
17 abs_command = os.path.join(dir, command)
18 if os.path.isfile(abs_command) and \
19 os.access(abs_command, os.X_OK):
20@@ -439,7 +440,7 @@
21 quiet = '-q'
22 tonull = '2> /dev/null'
23
24- encode_command = ' '.join([prog + '_encoder.py', '-o', \
25+ encode_command = ' '.join([PYTHON_PLUGINS_DIR + prog + '_encoder.py', '-o', \
26 outfile, '-w', tempdir, '-a', arc, \
27 '-f', fpsc, quiet, '-t', \
28 type, '-s ./audiodump.wav', \
This page took 0.055704 seconds and 4 git commands to generate.