-rw-r--r-- | noncore/multimedia/opieplayer2/lib.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp index 4b13f00..123ca91 100644 --- a/noncore/multimedia/opieplayer2/lib.cpp +++ b/noncore/multimedia/opieplayer2/lib.cpp @@ -8,9 +8,11 @@ #include "frame.h" #include "lib.h" - +extern "C" { +vo_driver_t* init_video_out_plugin( config_values_t* conf, void* video); +} using namespace XINE; Lib::Lib() { @@ -43,8 +45,10 @@ Lib::Lib() { } m_xine = xine_init( m_videoOutput, m_audioOutput, m_config ); + // test loading + m_videoOutput = ::init_video_out_plugin( m_config, NULL ); } Lib::~Lib() { delete m_config; @@ -64,8 +68,9 @@ int Lib::majorVersion() { } int Lib::minorVersion() { return xine_get_minor_version(); }; + int Lib::subVersion() { return xine_get_sub_version(); } int Lib::play( const QString& fileName, |