File: 04_enable_ffmpeg.patch

package info (click to toggle)
contextfree 3.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,260 kB
  • sloc: cpp: 37,992; lex: 414; makefile: 123; sh: 43; python: 34
file content (26 lines) | stat: -rw-r--r-- 726 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
23
24
25
26
Description: Context Free has an optional ability to generate QuickTime
 files using FFmpeg. This is disabled by default. This patch enables
 FFmpeg in Context Free.
Author: John Horigan <john@glyphic.com>
Forwarded: not-needed

--- a/Makefile
+++ b/Makefile
@@ -84,14 +84,14 @@
 # Uncomment these lines to enable FFmpeg support
 #
 
-# COMMON_SRCS += ffCanvas.cpp
-# LIBS += avformat avcodec swscale swresample avutil z m x264 pthread dl
+COMMON_SRCS += ffCanvas.cpp
+LIBS += avformat avcodec swscale swresample avutil z m x264 pthread dl
 
 #
 # Comment out this line to enable FFmpeg support
 #
 
-COMMON_SRCS += ffCanvasDummy.cpp
+# COMMON_SRCS += ffCanvasDummy.cpp
 
 SRCS = $(DERIVED_SRCS) $(COMMON_SRCS) $(UNIX_SRCS)