File: 0006-Set-default-path-to-ffmpeg-binary.patch

package info (click to toggle)
zoneminder 1.36.35%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 53,728 kB
  • sloc: php: 219,767; perl: 127,535; javascript: 75,411; cpp: 59,876; sql: 6,635; sh: 2,472; ansic: 1,467; makefile: 534; xml: 240; asm: 157; python: 74
file content (22 lines) | stat: -rw-r--r-- 823 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Dmitry Smirnov <onlyjob@member.fsf.org>
Date: Thu, 3 Aug 2017 14:24:22 -0400
Subject: Set default path to "ffmpeg" binary.

It is not detected on build-time without "ffmpeg" package.
---
 scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in
+++ b/scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in
@@ -1065,9 +1065,9 @@
     category    => 'network',
   },
   {
     name        => 'ZM_OPT_FFMPEG',
-    default     => '@OPT_FFMPEG@',
+    default     => "/usr/bin/ffmpeg",
     description => 'Is the ffmpeg video encoder/decoder installed',
     help        => q`
       ZoneMinder can optionally encode a series of video images into
       an MPEG encoded movie file for viewing, downloading or storage.