summary refs log tree commit diff
path: root/pkgs/tools/networking/persepolis/0004-Search-PATH-for-ffmpeg-on-darwin.patch
blob: 800f7bddd408639f24b3620b169897bb89e61f91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
 persepolis/scripts/mainwindow.py   | 2 +-
 persepolis/scripts/useful_tools.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/persepolis/scripts/mainwindow.py b/persepolis/scripts/mainwindow.py
index d21f3f4..a0e3674 100644
--- a/persepolis/scripts/mainwindow.py
+++ b/persepolis/scripts/mainwindow.py
@@ -161,7 +161,7 @@ class CheckVersionsThread(QThread):
 
             else:
                 pipe = subprocess.Popen(
-                    [ffmpeg_path, '-version'],
+                    ['ffmpeg', '-version'],
                     stdout=subprocess.PIPE,
                     stdin=subprocess.PIPE,
                     stderr=subprocess.PIPE,
diff --git a/persepolis/scripts/useful_tools.py b/persepolis/scripts/useful_tools.py
index b780967..31733eb 100644
--- a/persepolis/scripts/useful_tools.py
+++ b/persepolis/scripts/useful_tools.py
@@ -342,7 +342,7 @@ def muxer(parent, video_finder_dictionary):
                 current_directory = os.path.dirname(cwd)
                 ffmpeg_path = os.path.join(current_directory, 'ffmpeg')
 
-                pipe = subprocess.Popen([ffmpeg_path, '-i', video_file_path,
+                pipe = subprocess.Popen(['ffmpeg', '-i', video_file_path,
                                          '-i', audio_file_path,
                                          '-c', 'copy',
                                          '-shortest',
-- 
2.39.3 (Apple Git-145)