Tweaks to handle more modern version of ffmpeg compiled form source.
This commit is contained in:
parent
1bad5770b6
commit
19ee0f011e
@ -1,4 +1,14 @@
|
|||||||
INCLUDE_DIRECTORIES( ${FFMPEG_INCLUDE_DIRS} )
|
# INCLUDE_DIRECTORIES( ${FFMPEG_INCLUDE_DIRS} )
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(
|
||||||
|
${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS} ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}/libavformat
|
||||||
|
${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS} ${FFMPEG_LIBAVDEVICE_INCLUDE_DIRS}/libavdevice
|
||||||
|
${FFMPEG_LIBAVCODEC_INCLUDE_DIRS} ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS}/libavcodec
|
||||||
|
${FFMPEG_LIBAVUTIL_INCLUDE_DIRS} ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS}/libavcodec
|
||||||
|
)
|
||||||
|
|
||||||
|
MESSAGE("FFMPEG_INCLUDE_DIRS = " ${FFMPEG_INCLUDE_DIRS} )
|
||||||
|
MESSAGE("FFMPEG_LIBRARIES = " ${FFMPEG_LIBRARIES} )
|
||||||
|
|
||||||
SET(TARGET_SRC
|
SET(TARGET_SRC
|
||||||
FFmpegClocks.cpp
|
FFmpegClocks.cpp
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
|
|
||||||
#include "FFmpegDecoderAudio.hpp"
|
#include "FFmpegDecoderAudio.hpp"
|
||||||
|
|
||||||
#include <osg/Notify>
|
#include <osg/Notify>
|
||||||
|
|
||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -4,12 +4,13 @@
|
|||||||
|
|
||||||
#include <OpenThreads/Thread>
|
#include <OpenThreads/Thread>
|
||||||
|
|
||||||
#include "AudioSinkInterface.hpp"
|
|
||||||
#include "BoundedMessageQueue.hpp"
|
|
||||||
#include "FFmpegClocks.hpp"
|
#include "FFmpegClocks.hpp"
|
||||||
#include "FFmpegPacket.hpp"
|
#include "FFmpegPacket.hpp"
|
||||||
#include "FFmpegSampleFormat.hpp"
|
#include "FFmpegSampleFormat.hpp"
|
||||||
|
|
||||||
|
#include "AudioSinkInterface.hpp"
|
||||||
|
#include "BoundedMessageQueue.hpp"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace osgFFmpeg {
|
namespace osgFFmpeg {
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
#include "FFmpegDecoderVideo.hpp"
|
#include "FFmpegDecoderVideo.hpp"
|
||||||
|
|
||||||
#include <osg/Notify>
|
#include <osg/Notify>
|
||||||
|
@ -2,15 +2,14 @@
|
|||||||
#ifndef HEADER_GUARD_OSGFFMPEG_FFMPEG_DECODER_VIDEO_H
|
#ifndef HEADER_GUARD_OSGFFMPEG_FFMPEG_DECODER_VIDEO_H
|
||||||
#define HEADER_GUARD_OSGFFMPEG_FFMPEG_DECODER_VIDEO_H
|
#define HEADER_GUARD_OSGFFMPEG_FFMPEG_DECODER_VIDEO_H
|
||||||
|
|
||||||
#include <boost/shared_ptr.hpp>
|
|
||||||
#include <OpenThreads/Thread>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
#include "BoundedMessageQueue.hpp"
|
#include "BoundedMessageQueue.hpp"
|
||||||
#include "FFmpegClocks.hpp"
|
#include "FFmpegClocks.hpp"
|
||||||
#include "FFmpegPacket.hpp"
|
#include "FFmpegPacket.hpp"
|
||||||
|
|
||||||
|
#include <boost/shared_ptr.hpp>
|
||||||
|
#include <OpenThreads/Thread>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
namespace osgFFmpeg {
|
namespace osgFFmpeg {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user