summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/lib.cpp
Side-by-side diff
Diffstat (limited to 'noncore/multimedia/opieplayer2/lib.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/lib.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/noncore/multimedia/opieplayer2/lib.cpp b/noncore/multimedia/opieplayer2/lib.cpp
index 1ab5c96..248221b 100644
--- a/noncore/multimedia/opieplayer2/lib.cpp
+++ b/noncore/multimedia/opieplayer2/lib.cpp
@@ -48,2 +48,3 @@ using namespace Opie::Core;
#include <assert.h>
+#include <unistd.h>
@@ -110,6 +111,6 @@ void Lib::run()
{
- odebug << "Lib::run() started" << oendl;
+ odebug << "Lib::run() started" << oendl;
initialize();
m_initialized = true;
- odebug << "Lib::run() finished" << oendl;
+ odebug << "Lib::run() finished" << oendl;
}
@@ -148,3 +149,3 @@ void Lib::initialize()
- ::null_preload_decoders( m_stream );
+ ::null_preload_decoders( m_stream );
@@ -219,3 +220,3 @@ void Lib::stop() {
- odebug << "<<<<<<<< STOP IN LIB TRIGGERED >>>>>>>" << oendl;
+ odebug << "<<<<<<<< STOP IN LIB TRIGGERED >>>>>>>" << oendl;
xine_stop( m_stream );
@@ -331,5 +332,5 @@ void Lib::ensureInitialized()
- odebug << "waiting for initialization thread to finish" << oendl;
+ odebug << "waiting for initialization thread to finish" << oendl;
wait();
- odebug << "initialization thread finished!" << oendl;
+ odebug << "initialization thread finished!" << oendl;
}
@@ -426,3 +427,3 @@ void Lib::drawFrame( uint8_t* frame, int width, int height, int bytes ) {
if ( !m_video ) {
- owarn << "not showing video now" << oendl;
+ owarn << "not showing video now" << oendl;
return;