summaryrefslogtreecommitdiff
authorzecke <zecke>2002-07-02 15:44:42 (UTC)
committer zecke <zecke>2002-07-02 15:44:42 (UTC)
commit78172d2d23543992605e273770692b5a0a84ed32 (patch) (side-by-side diff)
tree6cff38f725cf2c6360917d2687f6574285bb8ede
parente26bf96e2e4f2d1edf19e81dc67eace3cb8622dc (diff)
downloadopie-78172d2d23543992605e273770692b5a0a84ed32.zip
opie-78172d2d23543992605e273770692b5a0a84ed32.tar.gz
opie-78172d2d23543992605e273770692b5a0a84ed32.tar.bz2
Try to load the null video plugi
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/lib.cpp7
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 @@
#include "lib.h"
-
+extern "C" {
+vo_driver_t* init_video_out_plugin( config_values_t* conf, void* video);
+}
using namespace XINE;
@@ -44,6 +46,8 @@ 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() {
@@ -65,6 +69,7 @@ int Lib::majorVersion() {
int Lib::minorVersion() {
return xine_get_minor_version();
};
+
int Lib::subVersion() {
return xine_get_sub_version();
}