|
Revision 9818, 1.0 kB
(checked in by robert, 4 years ago)
|
|
Tweaks to handle more modern version of ffmpeg compiled form source.
|
| Line | |
|---|
| 1 | # INCLUDE_DIRECTORIES( ${FFMPEG_INCLUDE_DIRS} ) |
|---|
| 2 | |
|---|
| 3 | INCLUDE_DIRECTORIES( |
|---|
| 4 | ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS} ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}/libavformat |
|---|
| 5 | ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS} ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS}/libavdevice |
|---|
| 6 | ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS} ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS}/libavcodec |
|---|
| 7 | ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS} ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS}/libavcodec |
|---|
| 8 | ) |
|---|
| 9 | |
|---|
| 10 | MESSAGE("FFMPEG_INCLUDE_DIRS = " ${FFMPEG_INCLUDE_DIRS} ) |
|---|
| 11 | MESSAGE("FFMPEG_LIBRARIES = " ${FFMPEG_LIBRARIES} ) |
|---|
| 12 | |
|---|
| 13 | SET(TARGET_SRC |
|---|
| 14 | FFmpegClocks.cpp |
|---|
| 15 | FFmpegDecoderAudio.cpp |
|---|
| 16 | FFmpegDecoder.cpp |
|---|
| 17 | FFmpegDecoderVideo.cpp |
|---|
| 18 | FFmpegImageStream.cpp |
|---|
| 19 | ReaderWriterFFmpeg.cpp |
|---|
| 20 | ) |
|---|
| 21 | |
|---|
| 22 | SET(TARGET_H |
|---|
| 23 | AudioSinkInterface.hpp |
|---|
| 24 | BoundedMessageQueue.hpp |
|---|
| 25 | FFmpegClocks.hpp |
|---|
| 26 | FFmpegDecoderAudio.hpp |
|---|
| 27 | FFmpegDecoder.hpp |
|---|
| 28 | FFmpegDecoderVideo.hpp |
|---|
| 29 | FFmpegHeaders.hpp |
|---|
| 30 | FFmpegPacket.hpp |
|---|
| 31 | MessageQueue.hpp |
|---|
| 32 | ) |
|---|
| 33 | |
|---|
| 34 | SET(TARGET_EXTERNAL_LIBRARIES ${FFMPEG_LIBRARIES} ) |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | #### end var setup ### |
|---|
| 38 | SETUP_PLUGIN(ffmpeg) |
|---|