| 1 |
Descriptionscip-debian debian asterisk 1:22.10.1+dfsg+~cs6.17.60671434-1 asterisk/patches/`1008_ffmpeg_include.patch`#Description.: Include subdirs (not main dir) for FFmpeg paths |
| 2 |
Fix include FFmpeg headers from below /usr/include/ffmpeg/<libname> |
| 3 |
(this change requires -I/usr/include/ffmpeg). |
| 4 |
Authorscip-debian debian asterisk 1:22.10.1+dfsg+~cs6.17.60671434-1 asterisk/patches/`1008_ffmpeg_include.patch`#Author.: Jonas Smedegaard <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 5 |
Bug-Debianscip-debian debian asterisk 1:22.10.1+dfsg+~cs6.17.60671434-1 asterisk/patches/`1008_ffmpeg_include.patch`#Bug-Debian.: https://bugs.debian.org/531728scip-debian-bts debian-bts . . 531728: |
| 6 |
Last-Updatescip-debian debian asterisk 1:22.10.1+dfsg+~cs6.17.60671434-1 asterisk/patches/`1008_ffmpeg_include.patch`#Last-Update.: 2022-01-22 |
| 7 |
--- |
| 8 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 9 |
--- a/channels/console_video.hscip-debian debian asterisk 1:22.10.1+dfsg+~cs6.17.60671434-1 asterisk/upstream/`channels/console_video.h`: |
| 10 |
+++ b/channels/console_video.hscip-debian debian asterisk 1:22.10.1+dfsg+~cs6.17.60671434-1 asterisk/upstream/`channels/console_video.h`: |
| 11 |
@@ -28,9 +28,9 @@ |
| 12 |
"console {device}" |
| 13 |
#else |
| 14 |
|
| 15 |
|
| 16 |
+#include <libavcodec/avcodec.h> |
| 17 |
#ifndef OLD_FFMPEG |
| 18 |
|
| 19 |
+#include <libswscale/swscale.h> /* requires a recent ffmpeg */ |
| 20 |
#endif |
| 21 |
|
| 22 |
#define CONSOLE_VIDEO_CMDS \ |