author | zecke <zecke> | 2002-07-02 15:25:38 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-07-02 15:25:38 (UTC) |
commit | e26bf96e2e4f2d1edf19e81dc67eace3cb8622dc (patch) (unidiff) | |
tree | 0346837eed0c9acc55f25601e495a188fb1111fb /noncore/multimedia/opieplayer2/lib.cpp | |
parent | d4a5bcbba0e6f67ef9d41e08c7d5ae598caa61a8 (diff) | |
download | opie-e26bf96e2e4f2d1edf19e81dc67eace3cb8622dc.zip opie-e26bf96e2e4f2d1edf19e81dc67eace3cb8622dc.tar.gz opie-e26bf96e2e4f2d1edf19e81dc67eace3cb8622dc.tar.bz2 |
my hacky null video output plugin
This will become our smart opie video widget
controller...
Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/lib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp index ecaeeea..4b13f00 100644 --- a/noncore/multimedia/opieplayer2/lib.cpp +++ b/noncore/multimedia/opieplayer2/lib.cpp | |||
@@ -1,33 +1,33 @@ | |||
1 | 1 | ||
2 | #include <stdio.h> | 2 | #include <stdio.h> |
3 | #include <stdlib.h> | 3 | #include <stdlib.h> |
4 | //#include <qpe/qpeapplication.h> | 4 | //#include <qpe/qpeapplication.h> |
5 | 5 | ||
6 | #include <qfile.h> | 6 | #include <qfile.h> |
7 | 7 | ||
8 | #include "frame.h" | 8 | #include "frame.h" |
9 | #include "xinelib.h" | 9 | #include "lib.h" |
10 | 10 | ||
11 | 11 | ||
12 | 12 | ||
13 | 13 | ||
14 | using namespace XINE; | 14 | using namespace XINE; |
15 | 15 | ||
16 | Lib::Lib() { | 16 | Lib::Lib() { |
17 | printf("Lib"); | 17 | printf("Lib"); |
18 | QCString str( getenv("HOME") ); | 18 | QCString str( getenv("HOME") ); |
19 | str += "/Settings/opiexine.cf"; | 19 | str += "/Settings/opiexine.cf"; |
20 | // get the configuration | 20 | // get the configuration |
21 | m_config = xine_config_file_init( str.data() ); | 21 | m_config = xine_config_file_init( str.data() ); |
22 | 22 | ||
23 | // allocate oss for sound | 23 | // allocate oss for sound |
24 | // and fb for framebuffer | 24 | // and fb for framebuffer |
25 | m_audioOutput= xine_load_audio_output_plugin( m_config, "oss") ; | 25 | m_audioOutput= xine_load_audio_output_plugin( m_config, "oss") ; |
26 | if (m_audioOutput == NULL ) | 26 | if (m_audioOutput == NULL ) |
27 | printf("Failure\n"); | 27 | printf("Failure\n"); |
28 | else | 28 | else |
29 | printf("Success\n"); | 29 | printf("Success\n"); |
30 | 30 | ||
31 | 31 | ||
32 | // test code | 32 | // test code |
33 | m_videoOutput = xine_load_video_output_plugin(m_config, "fb", | 33 | m_videoOutput = xine_load_video_output_plugin(m_config, "fb", |