forked from mirror/openmw-tes3mp
Rename to osg-ffmpeg-videoplayer
This commit is contained in:
parent
168c0d9b39
commit
92ef9b1c57
16 changed files with 10 additions and 10 deletions
|
@ -549,7 +549,7 @@ include_directories(libs)
|
||||||
add_subdirectory(libs/openengine)
|
add_subdirectory(libs/openengine)
|
||||||
|
|
||||||
# Extern
|
# Extern
|
||||||
add_subdirectory (extern/ogre-ffmpeg-videoplayer)
|
add_subdirectory (extern/osg-ffmpeg-videoplayer)
|
||||||
add_subdirectory (extern/oics)
|
add_subdirectory (extern/oics)
|
||||||
#add_subdirectory (extern/sdl4ogre)
|
#add_subdirectory (extern/sdl4ogre)
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,7 @@ target_link_libraries(openmw
|
||||||
${MYGUI_LIBRARIES}
|
${MYGUI_LIBRARIES}
|
||||||
${SDL2_LIBRARY}
|
${SDL2_LIBRARY}
|
||||||
${MYGUI_PLATFORM_LIBRARIES}
|
${MYGUI_PLATFORM_LIBRARIES}
|
||||||
"ogre-ffmpeg-videoplayer"
|
"osg-ffmpeg-videoplayer"
|
||||||
"oics"
|
"oics"
|
||||||
components
|
components
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "videowidget.hpp"
|
#include "videowidget.hpp"
|
||||||
|
|
||||||
//#include <extern/ogre-ffmpeg-videoplayer/videoplayer.hpp>
|
//#include <extern/osg-ffmpeg-videoplayer/videoplayer.hpp>
|
||||||
|
|
||||||
#include <MyGUI_RenderManager.h>
|
#include <MyGUI_RenderManager.h>
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include "movieaudiofactory.hpp"
|
#include "movieaudiofactory.hpp"
|
||||||
|
|
||||||
#include <extern/ogre-ffmpeg-videoplayer/audiodecoder.hpp>
|
#include <extern/osg-ffmpeg-videoplayer/audiodecoder.hpp>
|
||||||
#include <extern/ogre-ffmpeg-videoplayer/videostate.hpp>
|
#include <extern/osg-ffmpeg-videoplayer/videostate.hpp>
|
||||||
|
|
||||||
#include "../mwbase/environment.hpp"
|
#include "../mwbase/environment.hpp"
|
||||||
#include "../mwbase/soundmanager.hpp"
|
#include "../mwbase/soundmanager.hpp"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef OPENMW_MWSOUND_MOVIEAUDIOFACTORY_H
|
#ifndef OPENMW_MWSOUND_MOVIEAUDIOFACTORY_H
|
||||||
#define OPENMW_MWSOUND_MOVIEAUDIOFACTORY_H
|
#define OPENMW_MWSOUND_MOVIEAUDIOFACTORY_H
|
||||||
|
|
||||||
#include <extern/ogre-ffmpeg-videoplayer/audiofactory.hpp>
|
#include <extern/osg-ffmpeg-videoplayer/audiofactory.hpp>
|
||||||
|
|
||||||
namespace MWSound
|
namespace MWSound
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
set(OGRE_FFMPEG_VIDEOPLAYER_LIBRARY "ogre-ffmpeg-videoplayer")
|
set(OSG_FFMPEG_VIDEOPLAYER_LIBRARY "osg-ffmpeg-videoplayer")
|
||||||
|
|
||||||
# Sources
|
# Sources
|
||||||
|
|
||||||
set(OGRE_FFMPEG_VIDEOPLAYER_SOURCE_FILES
|
set(OSG_FFMPEG_VIDEOPLAYER_SOURCE_FILES
|
||||||
videoplayer.cpp
|
videoplayer.cpp
|
||||||
videostate.cpp
|
videostate.cpp
|
||||||
videodefs.hpp
|
videodefs.hpp
|
||||||
|
@ -36,7 +36,7 @@ set(BOOST_COMPONENTS thread)
|
||||||
find_package(Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
find_package(Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
||||||
include_directories(${Boost_INCLUDE_DIRS})
|
include_directories(${Boost_INCLUDE_DIRS})
|
||||||
|
|
||||||
add_library(${OGRE_FFMPEG_VIDEOPLAYER_LIBRARY} STATIC ${OGRE_FFMPEG_VIDEOPLAYER_SOURCE_FILES})
|
add_library(${OSG_FFMPEG_VIDEOPLAYER_LIBRARY} STATIC ${OSG_FFMPEG_VIDEOPLAYER_SOURCE_FILES})
|
||||||
target_link_libraries(${OGRE_FFMPEG_VIDEOPLAYER_LIBRARY} ${VIDEO_FFMPEG_LIBRARIES} ${Boost_LIBRARIES})
|
target_link_libraries(${OSG_FFMPEG_VIDEOPLAYER_LIBRARY} ${VIDEO_FFMPEG_LIBRARIES} ${Boost_LIBRARIES})
|
||||||
|
|
||||||
link_directories(${CMAKE_CURRENT_BINARY_DIR})
|
link_directories(${CMAKE_CURRENT_BINARY_DIR})
|
Loading…
Reference in a new issue