summarylogtreecommitdiffstats
path: root/fix-library-path.patch
blob: ad134320f159ab60ad8ba12d7a23791863313272 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
diff --unified --recursive --text FastVideoDSEncoder.orig/FastVideoDSEncoder/FFMpegDecoder.cs FastVideoDSEncoder.new/FastVideoDSEncoder/FFMpegDecoder.cs
--- FastVideoDSEncoder.orig/FastVideoDSEncoder/FFMpegDecoder.cs	2023-07-31 09:37:19.825980486 +0200
+++ FastVideoDSEncoder.new/FastVideoDSEncoder/FFMpegDecoder.cs	2023-07-31 09:37:48.452239527 +0200
@@ -46,7 +46,7 @@
 
         static FFMpegDecoder()
         {
-            ffmpeg.RootPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "x64");
+            ffmpeg.RootPath = "/usr/lib";
         }
 
         public FFMpegDecoder(string srcPath, long startPts = 0, int videoStreamId = -1, int audioStreamId = -1)
diff --unified --recursive --text FastVideoDSEncoder.orig/FastVideoDSEncoder/FastVideoDSEncoder.csproj FastVideoDSEncoder.new/FastVideoDSEncoder/FastVideoDSEncoder.csproj
--- FastVideoDSEncoder.orig/FastVideoDSEncoder/FastVideoDSEncoder.csproj	2023-07-31 09:37:19.825980486 +0200
+++ FastVideoDSEncoder.new/FastVideoDSEncoder/FastVideoDSEncoder.csproj	2023-07-31 09:38:03.585358366 +0200
@@ -29,59 +29,4 @@
     <ProjectReference Include="..\Gericom.FastVideoDS\Gericom.FastVideoDS.csproj" />
   </ItemGroup>
 
-  <ItemGroup>
-    <Folder Include="x64\" />
-  </ItemGroup>
-
-  <ItemGroup>
-    <None Update="x64\avcodec-58.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\avcodec-59.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\avdevice-58.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\avdevice-59.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\avfilter-7.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\avfilter-8.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\avformat-58.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\avformat-59.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\avutil-56.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\avutil-57.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\postproc-55.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\postproc-56.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\swresample-3.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\swresample-4.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\swscale-5.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-    <None Update="x64\swscale-6.dll">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </None>
-  </ItemGroup>
-
 </Project>
Only in FastVideoDSEncoder.orig/FastVideoDSEncoder: x64