-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 | |||
@@ -9,7 +9,9 @@ | |||
9 | #include "lib.h" | 9 | #include "lib.h" |
10 | 10 | ||
11 | 11 | ||
12 | 12 | extern "C" { | |
13 | vo_driver_t* init_video_out_plugin( config_values_t* conf, void* video); | ||
14 | } | ||
13 | 15 | ||
14 | using namespace XINE; | 16 | using namespace XINE; |
15 | 17 | ||
@@ -44,6 +46,8 @@ Lib::Lib() { | |||
44 | m_xine = xine_init( m_videoOutput, | 46 | m_xine = xine_init( m_videoOutput, |
45 | m_audioOutput, | 47 | m_audioOutput, |
46 | m_config ); | 48 | m_config ); |
49 | // test loading | ||
50 | m_videoOutput = ::init_video_out_plugin( m_config, NULL ); | ||
47 | } | 51 | } |
48 | 52 | ||
49 | Lib::~Lib() { | 53 | Lib::~Lib() { |
@@ -65,6 +69,7 @@ int Lib::majorVersion() { | |||
65 | int Lib::minorVersion() { | 69 | int Lib::minorVersion() { |
66 | return xine_get_minor_version(); | 70 | return xine_get_minor_version(); |
67 | }; | 71 | }; |
72 | |||
68 | int Lib::subVersion() { | 73 | int Lib::subVersion() { |
69 | return xine_get_sub_version(); | 74 | return xine_get_sub_version(); |
70 | } | 75 | } |